Template for Smart Contract applications compatible with foundry.
# Install tools from the nodejs ecosystem: prettier, solhint, husky and lint-staged
make nodejs-deps
# Install smart contract dependencies through `foundry update`
make updatecp .env.example .envmake buildmake test # using a local node listening on http://localhost:8545
# Or
ETH_RPC_URL='https://eth-goerli.alchemyapi.io/v2/<ALCHEMY_API_KEY>' make test # using a remote nodeWrapper around forge/cast which figure out wallet and password automatically if you are using geth keystore.
scripts/forge-deploy.sh: Deploys a contract. Accepts the same options asforge createscripts/forge-verify.sh: Verifies a deployed contract. Accepts the same options asforge verify-contractscripts/cast-send.sh: Signs and publish a transaction. Accepts the same options ascast send