Skip to content

This repository contains the advanced phase of my 30-day Solidity mastery challenge — Days 21–30. Focus: Refactor previous projects, write Foundry tests, deploy smart contracts to Sepolia Testnet, and verify functionality.

Notifications You must be signed in to change notification settings

BuildsWithKing/21-30-foundry-test-deploy

Repository files navigation


Michealking Banner

🔥 30-Days Solidity Mastery Challenge: Phase 2 (Day 21–30)

🚀 Refactoring, Testing, Deployment & Foundry Mastery

This repository contains the advanced phase of my 30-day Solidity mastery challenge — Days 21–30.
Focus: Refactor previous projects, write *Foundry tests, deploy smart contracts to *Sepolia Testnet, and verify functionality.


🟢 New to Phase 2?
Phase 2 focuses on testing, deployment, scripting, and production-level best practices.
You’ll see the same projects from Days 1–20, but now refactored, fully tested, and verified.


“Consistency + testing = mastery. I’m leveling up smart contract quality and deployment skills.” — Michealking 👑


📅 Challenge Focus

Phase Focus Area Description
Day 21–30 🧪 Foundry & Deployment Refactor, test, deploy, and verify 15 projects

📅 Project Directory (Day 21–30)

Day Projects Description Links
021 Project A — AdvancedUserStorage
Project B — ModularQuoteVault
Store & update full user data with CRUD & Foundry tests
A highly modular and secure quote vault with user data and quote management, fully tested and deployed.
A View
B View
022 Project A — TodoListPlus
Project B — FlexiWhiteList
Add/remove/update tasks, enum status & tests
Address mapping with access control checks
A View
B View
023 Project A — SimpleBankX
Project B — DonationVaultV2
Register/unregister/deposit/withdraw/transfer ETH, refactor, and edge-case tests
Public donations, onlyKing withdrawals, reentrancy protected
A View
B View
024 Project A — BasicKYCV2
Project B — ModularVoterVault
User registration, admin and king verification
Proposal creation, voting with token, tally validation & double-vote prevention
A View
B View
025 Project A — OwnershipManager
Project B — ProjectIdeaStorage
Ownership transfer logic & admin validation
Store & update project ideas; test CRUD & access control
Coming soon...
Coming soon...
026 Project A — NFTVault
Project B — ReferralSystem
Metadata & access tests; CRUD verification
Referral tracking & anti-abuse validation
Coming soon...
Coming soon...
027 Project A — WalletGuard
Project B — DecentralizedPoll
Anti-attack & whitelist tests; security checks
Vote lifecycle tests & tally validation
Coming soon...
Coming soon...
028 Project A — EmailRegistry
Project B — StudentRecordSystem
Full CRUD + deploy script; owner-only endpoints
Role-based access tests & data integrity validation
Coming soon...
Coming soon...
029 Project A — SimpleAuction Bid lifecycle & edge-case handling tests Coming soon...
030 Capstone Project — Final Build Combines patterns from all projects; full Foundry test suite, deployment & verification Coming soon...

🧱 Progress: 4 / 10 projects done


📂 Folder Structure

Each folder represents a project, containing Solidity contracts, Foundry tests, and deployment scripts.

Day021-AdvancedUserStorage/ ├── AdvancedUserStorage.sol ├── AdvancedUserStorage.t.sol ├──DeployAdvancedUserStorage.s.sol └── README.md

Day023-SimpleBank/ ├── SimpleBank.sol ├── SimpleBank.t.sol └── README.md

...


📦 What You’ll Find Inside

  • 💻 Advanced smart contract refactoring
  • 🧪 Full Foundry test suites for all projects
  • 🚀 Deployment scripts to Sepolia Testnet
  • 📚 Project-specific READMEs with instructions and contract addresses

🛠 Tools Used

  • Solidity ^0.8.30
  • VS Code + Remix IDE
  • Git + GitHub (SSH)
  • Foundry (forge test / forge script)
  • Sepolia Testnet deployment

🧠 Why This Matters

Phase 2 pushes me from writing contracts to testing, deploying, and verifying production-ready smart contracts.
This is how professional Web3 developers ensure code quality and reliability.


💬 Follow My Journey

📡 Twitter/X – @BuildsWithKing
🌍 Website – https://buildswithking.vercel.app
🧠 GitHub Profile – https://github.com/BuildsWithKing

“Consistency + testing = mastery.” — Michealking 👑


About

This repository contains the advanced phase of my 30-day Solidity mastery challenge — Days 21–30. Focus: Refactor previous projects, write Foundry tests, deploy smart contracts to Sepolia Testnet, and verify functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •