SDK (web3.js v2)
Overview
LazorKit SDK for @solana/web3.js v2 — coming soon.
In development
The web3.js v2 SDK is not yet published. Use @lazorkit/sdk-legacy
(web3.js v1) today — the protocol feature set is identical.
What's coming
The v2 SDK will expose the same LazorKit contract capabilities as
@lazorkit/sdk-legacy, rebuilt on @solana/web3.js v2. Expect:
- Tree-shakeable builders — only pay for the instructions you use.
- Functional signer API — composable signer primitives instead of class instances.
- Stricter TypeScript types — branded addresses, typed instruction fragments.
- First-class RPC types — uses
@solana/rpcinterfaces directly. - Same on-chain program — fully compatible with wallets and sessions created through v1 or the React/React-Native SDKs.