benduran fe92275443 chore: migrated all package.json and tsconfig files to a single, modern standard 3 weeks ago
..
lib ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
script ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
src ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
test ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
.gitignore ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
.prettierignore 74d1fc89b0 chore(js): update fix:fmt config (#2514) 8 months ago
README.md ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
foundry.toml ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago
package.json fe92275443 chore: migrated all package.json and tsconfig files to a single, modern standard 3 weeks ago
prettier.config.js b1dc4c27f5 chore: move prettier to individual packages & upgrade prettier 8 months ago
remappings.txt ee21688c45 feat(target_chains/ethereum): add arbirum stylus sdk (#2041) 9 months ago

README.md

Foundry

The goal of the folder is to deploy a mock solidity pyth contract using the pyth sdk

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