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.

buildHeapFramePrepend

Function · @eco-incorp/sauce/svm Builds the required 256 KiB heap-frame request for cook transactions. Include it exactly once beside any compute-unit-limit request. High-level clients attach it automatically. Buffer-staging transactions do not require 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