This project is meant to be a stablecoin where users can deposit WETH and WBTC in exchange for a token that will be pegged to the USD.
git clone https://github.com/chinwuba22/foundry-defi-stablecoin
cd foundry-defi-stablecoin
forge build
make anvil
This will default to your local node. You need to have it running in another terminal in order for it to deploy.
make deploy
This only covers two types of test
- Unit
- Fuzz
forge test
forge coverage
and for coverage based testing:
forge coverage --report debug