Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
Foundry consists of:
- Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
- Chisel: Fast, utilitarian, and verbose solidity REPL.
Network | PivotTopic | TopicSBT | TopicERC20 |
---|---|---|---|
Sepolia | 0x9b764159249880e2d6B9a7F86495371c45aB69bC | 0xB12bc42ACFA0E8b270E79c07c5469eF3AE342151 | 0x83F3c5020Ef0f44C8Ef4993124740D3fe8D1470C |
Network | PivotTopic | TopicSBT |
---|---|---|
Ethereum | ||
Base | ||
Etica |
$ forge build
$ forge test
$ forge fmt
$ forge snapshot
$ anvil
$ forge script script/Topic.s.sol --rpc-url <your_rpc_url> --private-key <your_private_key> --broadcast
$ cast <subcommand>
$ forge --help
$ anvil --help
$ cast --help