Copy .env.example
to .env
and fill in the variables.
- Install deps:
make
- Run tests:
make test
- Deploy:
Deploy to Sepolia:
make deploy-sepolia contract=<CONTRACT_NAME>
Or deploy to local network Anvil:
make deploy-anvil contract=<CONTRACT_NAME>
Remember that Anvil is a local network, so you need to run it first:
make anvil
Format code:
make format
Add remappings:
forge remappings > remappings.txt