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.

venue

Function ยท @eco-incorp/sauce as svmVenues.venue, @eco-incorp/sauce/svm Slug-based front door: venue('raydium-cp-swap').swap(...) - the analogue of descriptors/accessors.tsโ€™s on(chainRef), for a caller resolving a venue at run time rather than naming Solana.RaydiumCpSwap.

venues

Function ยท @eco-incorp/sauce as svmVenues.venues, @eco-incorp/sauce/svm The lazy, memoising tree the Solana global composes (see ../routes/globals.ts). Builds zero adapter wrappers until a namespace is actually touched; two reads of the same namespace off one venues() call return the identical object.

SvmVenueSlug

Type ยท @eco-incorp/sauce as svmVenues.SvmVenueSlug, @eco-incorp/sauce/svm Registered venue slugs only - see this moduleโ€™s own header for why the other ~77 are excluded.

SvmVenueAccessor

Interface ยท @eco-incorp/sauce as svmVenues.SvmVenueAccessor, @eco-incorp/sauce/svm One leaf: Solana.<Venue>. Every member forwards to the identically-shaped SvmVenueAdapter member (.adapter) - an accessor call and a direct adapter call are indistinguishable in behavior, errors, and returned objects.

SvmVenueAccessors

Type ยท @eco-incorp/sauce as svmVenues.SvmVenueAccessors, @eco-incorp/sauce/svm The whole typed tree venues() returns - one namespace per registered adapter slug.