Logic behind the ghostDAO protocol
Go to file
Uncle Fatso 07c752754b
make help and ability to use blockscout as verifier
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-29 14:35:48 +03:00
.github/workflows chore: forge init 2024-09-12 15:21:57 +03:00
dependencies initial push for smart-contracts 2025-04-28 14:17:04 +03:00
lib forge install: forge-std 2024-09-12 15:22:04 +03:00
src tests of the burning functionality 2025-06-27 21:39:38 +03:00
test tests of the burning functionality 2025-06-27 21:39:38 +03:00
.env.template hoodi testnet added 2025-05-11 16:31:40 +03:00
.gitignore initial push for smart-contracts 2025-04-28 14:17:04 +03:00
.gitmodules forge install: forge-std 2024-09-12 15:22:04 +03:00
deployer.sh make help and ability to use blockscout as verifier 2025-06-29 14:35:48 +03:00
foundry.toml optimizer added explicitly 2025-05-11 16:33:19 +03:00
README.md chore: forge init 2024-09-12 15:21:57 +03:00
remappings.txt initial push for smart-contracts 2025-04-28 14:17:04 +03:00
soldeer.lock initial push for smart-contracts 2025-04-28 14:17:04 +03:00

Foundry

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.

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