Skip to main content
Archived documentation for @eco-incorp/sauce@1.0.0. Install this release with npm install --save-exact @eco-incorp/sauce@1.0.0. Links to guides outside this tab open current documentation.
@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.

SolanaTestChain

Class ยท @eco-incorp/sauce/testing

SolanaAccount

Interface ยท @eco-incorp/sauce/testing An account as the chain holds it.

SolanaChange

Interface ยท @eco-incorp/sauce/testing How much one holderโ€™s balance of one token changed.

SolanaCookOptions

Interface ยท @eco-incorp/sauce/testing

SolanaCookResult

Interface ยท @eco-incorp/sauce/testing

SolanaForkOptions

Interface ยท @eco-incorp/sauce/testing

SolanaTestAccount

Interface ยท @eco-incorp/sauce/testing