Development Workflow
1. Build
forge build
2. Test
# Run all tests
forge test
# Run tests with verbosity
forge test -vvv
# Run specific test
forge test --match-test testIncrement
3. Format Code
forge fmt
4. Gas Snapshots
forge snapshot
5. Local Development with Anvil
# Start local node
anvil
# Fork Luntra network locally
anvil --fork-url https://luntra.rpc.caldera.xyz/http
Last updated