These programs are enumerated the same as the other smart contract subdirectories (e.g. solana).
Read the design documents for each example project:
Install Foundry tools, which include forge
, anvil
and cast
CLI tools.
Simply run make
to install the necessary dependencies and build with forge, which runs the test simultaneously.
Run the Solidity-based unit tests with make unit-test
and the local-validator integration tests via make integration-test
, or simply make test
to run both of them.
The repo can either be run on a local testnet with Anvil or deployed on Ethereum mainnet + testnet with Forge.
To avoid the overhead of setting up rpc and wallets, use Remix IDE.