Skip to main content
@eco-incorp/sauce/svm is the Solana side: the client (createSauceSvmClient), clusters, PDAs, account resolution against the compiler’s account manifest, Kitchen and engine instructions, transactions and sending, token accounts, and compute planning for @sauce/router’s Solana venues. @eco-incorp/sauce/svm/engine exports the engine’s wire format and instruction builders, @eco-incorp/sauce/svm/verify verifies settle programs and engine CPI data, and @eco-incorp/sauce/svm/engine-artifacts (Node only) returns file paths to the packaged engine and Kitchen binaries.
Generated from the type declarations of @eco-incorp/sauce.

svmEnginePath

Function · @eco-incorp/sauce/svm/engine-artifacts Absolute path to the engine .so for a cluster (default devnet): path when given, else the packaged binary. Throws if absent.

svmKitchenPath

Function · @eco-incorp/sauce/svm/engine-artifacts Absolute path to the kitchen program .so: path when given, else the packaged one. Throws if absent.

svmKitchenIdlPath

Function · @eco-incorp/sauce/svm/engine-artifacts Absolute path to the kitchen Anchor IDL JSON: path when given, else the packaged one. Throws if absent.

svmEngineArtifacts

Function · @eco-incorp/sauce/svm/engine-artifacts The full set a local LiteSVM harness needs to run a kitchen-gated cook, each piece from paths when given and packaged otherwise. Throws if any piece is absent, so a caller gets one clear error rather than a partial set.

EngineCluster

Type · @eco-incorp/sauce/svm/engine-artifacts

SVM_ARTIFACTS_DIR

Variable · @eco-incorp/sauce/svm/engine-artifacts Directory holding the packaged SVM binaries, resolved relative to this compiled module.

SvmEngineArtifactPaths

Interface · @eco-incorp/sauce/svm/engine-artifacts Explicit artifact paths, each used instead of the packaged binary it names. An unset field falls back to the packaged one.