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