@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/svm:AccountRole,address,blockhash,generateKeyPairSigner,getAddressEncoder,getProgramDerivedAddress,getTransactionSize
@eco-incorp/sauce.
createSauceSvmClient
Function · @eco-incorp/sauce/svm
CookVia
Type · @eco-incorp/sauce/svm
How a cook reaches the engine.
"kitchen": the Kitchen’scook(orcook_from_account), which CPIs the engine and signs the owner’s Pot. The program can act as its Pot - hold assets in it, write its storage - and the Kitchen charges the execution fee first. The engine runs one level down the invoke stack."engine": the engine’s owncookAndPay(or the staged, pinnedcookAndPayFromAccountPinned). The engine charges the same fee, into the same treasury, then runs the program as the top-level instruction: no Pot, nothing signed for one - the program acts with the transaction’s own signatures, such as the wallet’s - and one more level of CPI depth for what it calls.
SauceSvmClientConfig
Interface · @eco-incorp/sauce/svm
SimulateOpts
Interface · @eco-incorp/sauce/svm
ExecuteOpts
Interface · @eco-incorp/sauce/svm
LookupTableOpts
Interface · @eco-incorp/sauce/svm
How execute and executeStaged fit a cook whose accounts do not fit one transaction: through
an address lookup table, where each account costs one byte rather than 32.
SendOpts
Interface · @eco-incorp/sauce/svm
execute’s options: a cook’s, and the lookup table it may go through.
CookLookupTableOpts
Type · @eco-incorp/sauce/svm
What cookLookupTable makes ready: the cook’s options, and the table’s.
StagedBuffer
Interface · @eco-incorp/sauce/svm
A buffer staged by this client - carries the SDK-computed content hash (the execute pin).
StagedArgs
Interface · @eco-incorp/sauce/svm
Per-execution args for a staged program. The layout is CALLER-SUPPLIED: neither CompileResult
carries one - the compiler’s is { bytecode, manifest? }, the route seam’s is
{ bytecode: Uint8Array[], warnings } - so ArgsLayout is the SDK’s own type (./layout.ts)
describing where each value sits in the payload tail.
SimulateStagedOpts
Interface · @eco-incorp/sauce/svm
ExecuteStagedOpts
Interface · @eco-incorp/sauce/svm
SendStagedOpts
Interface · @eco-incorp/sauce/svm
executeStaged’s options: a staged cook’s, and the lookup table it may go through.
StagedCookLookupTableOpts
Type · @eco-incorp/sauce/svm
What stagedCookLookupTable makes ready: the staged cook’s options, and the table’s.
EnsuredLookupTable
Interface · @eco-incorp/sauce/svm
An address lookup table this client created/extended, ready to compress a v0 transaction against.
EnsureLookupTableOpts
Interface · @eco-incorp/sauce/svm
SauceSvmClient
Interface · @eco-incorp/sauce/svm
