@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.
routerSvmDataTemplate
Function · @eco-incorp/sauce/svm
The data of venue’s swap around its amount, every other field checked and written. Throws for a
field the venue’s instruction does not carry, or one past its slot.
RouterSvmDataOptions
Interface · @eco-incorp/sauce/svm
RouterSvmDataTemplate
Interface · @eco-incorp/sauce/svm
A swap’s data around its amount: prefix ‖ u64le(amountIn / divisor) ‖ suffix.
