benduran 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update 2 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 ab0cf6f7d8 chore: updated gitignore to excluse the built dist/ folder 3 weeks ago
.prettierignore 6efbe89542 chore: updated prettier ignores to prevent bikeshedding 2 weeks 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 31c364cf41 feat: performed a minor bump all packages, since all were changed in the big dual package update 2 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