A modular smart contract monorepo powered by Foundry, built for testing, experimentation, and learning.
This repo contains multiple self-contained Solidity projects, including zkSync experiments and Chainlink-integrated dApps.
foundry-projects/
├── foundry-fund-me-f25/ → Chainlink + Crowdfunding
├── foundry-simple-storage-f23/ → Beginner storage contract
├── foundry-zksync/ → zkSync test suite and experiments
├── .gitignore
└── .env (not committed)
Each subproject is independently runnable with its own scripts, tests, and deployments.
curl -L https://foundry.paradigm.xyz | bash
foundryupgit clone git@github.com:ShahilRoy/FoundryProject251.git
cd FoundryProject251forge installforge test -vvvA decentralized funding app using Chainlink price feeds.
- ✔️ Chainlink AggregatorV3
- ✔️ Minimum USD contribution logic
- ✔️ Funders data structure tests
- ✔️ Sepolia + Local deployment
A learning project focused on core Foundry concepts.
- Simple
uint256storage - Scripted deployment
- Unit tests with Foundry standard library
Experimental contracts + tests for working with zkSync L2.
- Solidity tests under zkSync constraints
- Testdata-driven testing (
testdata/zk) - Compatible with
zksync-up
Create a .env file in root with the following:
SEPOLIA_RPC_URL=https://...
PRIVATE_KEY=0xabc...
ETHERSCAN_API_KEY=keyEach project contains deployment scripts under script/:
forge script script/DeployFundMe.s.sol \
--rpc-url $SEPOLIA_RPC_URL \
--private-key $PRIVATE_KEY \
--broadcastThis repo is licensed under MIT.
Maintained by Shahil Roy — feel free to star or fork the project!