Skip to main content
@eco-incorp/sauce/testing runs programs on a local chain inside a test, in Node only. fork(chain, options) starts a copy of a real chain (an EVM chain at options.block) with the Sauce release, replaying a recorded state file, recording one, or reading the live chain; local(options?) starts an empty chain (Base unless options.chain names another, Solana included) with the Sauce release deployed and no Kitchen fee. An EVM chain runs on Foundry’s anvil, which must be on PATH; Solana runs in LiteSVM.
Generated from the type declarations of @eco-incorp/sauce.

TestChain

Class · @eco-incorp/sauce/testing

DEFAULT_POT_SALT

Variable · @eco-incorp/sauce/testing The salt sauce pot and sauce run use when given none.

CookOptions

Interface · @eco-incorp/sauce/testing

CookResult

Interface · @eco-incorp/sauce/testing

TestAccount

Interface · @eco-incorp/sauce/testing

Effects

Interface · @eco-incorp/sauce/testing

Movement

Interface · @eco-incorp/sauce/testing