KYCToken.sol
: ERC20 with KYC checks for mint, burn and transfer. Deployed at0x298dd16AC0C45827C004032c56864B98C9764572
on Ethereum Goerli TestnetKYCToken.t.sol
: Fuzzing unit tests for the KYCToken contract
Install Foundry from here.
Run tests in the root directory with forge test
- You need an API key to access a Node RPC endpoint. Get one for Ethereum Goerli at https://www.alchemy.com/.
- Create a text file
.env
in the root dir and add your complete URL like so
# .env file
ETH_GOERLI=<Your RPC URL>
- Then, install dependencies and run the monitor script.
# Using Python 3.10
pip install -r requirements.txt
python monitor.py