- git
- You'll know you did it right if you can run
git --version
and you see a response likegit version x.x.x
- You'll know you did it right if you can run
- foundry
- You'll know you did it right if you can run
forge --version
and you see a response likeforge 0.2.0 (816e00b 2023-03-16T00:05:26.396218Z)
- You'll know you did it right if you can run
git clone [email protected]:Mill1995/VABDAO.git
cd VABDAO
git checkout foundry_setup
npm install
make
This will Import a private key into an encrypted keystore.
cast wallet import Deployer --interactive
- Create a .env and paste in these values, so hardhat doesn't freak out:
BASE_SEPOLIA_RPC_URL="https://sepolia.base.org/"
API_KEY_BASESCAN="YOUR_API_KEY"
// default foundry Mnemonic, only for testing purpose !!!
MNEMONIC=test test test test test test test test test test test junk
// default foundry private key, only for testing purpose !!!
DEPLOY_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
DEPLOYER_ADDRESS="<The Public Address of the Deployer Wallet>"
make build
make deploy ARGS="--network base_sepolia"
make test
forge test -vvvv
forge coverage
and for coverage based testing:
forge coverage --report debug
make aderyn
make slither
... find more commands in the Makefile & Foundry Docs
- Checkout foundry.toml
- Checkout Makefile for commands and more
- Deploy Scripts are inside ./scripts/foundry