Skip to main content
The SDK is built on @solana/kit, MIT licensed, and published as ESM only.

Environment support

Node.js

≥ 20.18.0, no Bun and no bundler required.

Bun

Works for scripts, tests, and tooling.

Bundlers

webpack, Vite, Rollup, and others work as-is.
This includes the WebAssembly swap-quote engine bundled inside the package (see Quoting without the SDK for what that crate does standalone).
On 1.x, bare Node.js wasn’t supported (use Bun instead), and webpack needed resolve.fullySpecified: false on .m?js$. Upgrade to 2.0.0+ to drop both workarounds.