ecosystem

Ecosystem Contracts

Generating Abis

To generate the abi and bytecode for a contract use the generate-abi.sh bash script. If it is your first time running the script, make sure to run chmod +X bash-scripts/generate-abi.sh in order to make it executable.

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

Foundry consists of:

Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help