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.
buildHeapFramePrepend
Function ยท @eco-incorp/sauce/svm
RequestHeapFrame(262144) - REQUIRED on every execute/simulate transaction:
interpreter memory lives in the transactionโs 256 KiB BPF heap frame, and a
transaction without the request aborts deterministically before any opcode.
Add-once beside SetComputeUnitLimit - duplicate ComputeBudget instruction
types fail the whole transaction (the clientโs execute flows attach it
automatically; use this when assembling transactions by hand). Buffer
staging transactions do not need it.
buildComputeBudgetPrepend
Function ยท @eco-incorp/sauce/svm
buildAtaPrepend
Function ยท @eco-incorp/sauce/svm
Idempotent ATA creation - safe to prepend whether or not the ATA already exists.
buildWrapSolPrepends
Function ยท @eco-incorp/sauce/svm
Idempotent wSOL ATA + SOL transfer + SyncNative - wraps lamports into the ownerโs wSOL account.
NATIVE_MINT
Variable ยท @eco-incorp/sauce/svm
Wrapped SOL mint (not exported by @solana-program/token).
ComputeBudgetPrependInput
Interface ยท @eco-incorp/sauce/svm
AtaPrependInput
Interface ยท @eco-incorp/sauce/svm
WrapSolPrependsInput
Interface ยท @eco-incorp/sauce/svm
