@burnkit/sdk

The burn-powered checkout SDK for Solana tokens.

Let people pay with any Solana token - burn a share forever, route the rest to your treasury, and hand back a receipt anyone can verify. All in a few lines of code.

Pay
Burn
Split
Verify
pnpm add @burnkit/sdk
checkout.ts
await burnkit.createBurnIntent({  mint: "TOKEN_MINT",  usdAmount: 2.5,  burnPercent: 100,  action: "generate_asset",});
1
SDK
Any
SPL token
100%
Burn support
Verifiable
Receipts
Capabilities

Everything a token utility layer needs.

A small, typed surface area that maps directly to how Solana apps charge, burn, and prove value.

01

Multi-token support

Accept payments in any SPL token with configurable burn logic.

02

Programmable burns

Burn 100%, split with treasury wallets, or attach protocol fees.

03

Verifiable receipts

Every action produces a signed receipt your app can store, display, verify, or anchor on-chain.

04

Built for marketplaces

Power token-gated tools, asset generation, creator utilities, and launch platforms.

05

Live pricing

Jupiter and DexScreener providers with caching, timeouts, and an automatic fallback chain.

06

Solana-native

Designed around wallets, token mints, transactions, and on-chain proof.

Quickstart

Install once. Ship a burn flow.

Bring your own RPC and wallet. The SDK handles quoting, burn math, splits, and receipts.

terminal
$pnpm add @burnkit/sdk
Read the full quickstart →
app/burn.ts
1import { createBurnkitClient } from "@burnkit/sdk";2 3const burnkit = createBurnkitClient({4  network: "devnet",5});6 7const intent = await burnkit.createBurnIntent({8  mint: "So11111111111111111111111111111111111111112",9  payer: userWallet,10  usdAmount: 1,11  burnPercent: 100,12  action: "generate_meme_pack",13});
How it works

Configure, quote, burn, verify.

Four steps from an empty project to a verifiable, burn-backed utility action.

  1. Step 01

    Configure

    Add your RPC, network, and optional price provider.

  2. Step 02

    Quote

    Convert a USD utility price into the token amount.

  3. Step 03

    Burn

    Build the burn/payment flow for the user wallet.

  4. Step 04

    Verify

    Store and display a receipt for the completed action.

API

A small, typed surface.

One client, predictable methods, fully typed inputs and outputs. No hidden globals.

api.ts
createBurnkitClient(config)client.quote(input)client.createBurnIntent(input)client.getBurnAmount(input)client.issueReceipt(intent)client.signReceipt(receipt)client.verifyReceipt(receipt)client.lookupReceipt(signature)client.verifyAnchoredReceipt(signature, receipt)client.parseReceipt(raw)
  • quote(input)

    Convert a USD price into a precise token amount.

  • createBurnIntent(input)

    Validate, quote, and build a ready-to-execute intent.

  • getBurnAmount(input)

    Resolve the burn and remainder for a given percentage.

  • issueReceipt(intent)

    Produce a verifiable receipt for a completed action.

  • verifyReceipt(receipt)

    Recompute the digest and confirm integrity.

  • parseReceipt(raw)

    Read a stored receipt back into a typed object.

The SDK behind BurnMarket

Built for BurnMarket. Open for every Solana app.

We built BurnKit SDK while building BurnMarket - a platform where any Solana token can plug in a real utility layer in minutes: meme tools, brand kits, gated downloads, asset generation, bounties, and more.

The SDK is ready today. BurnMarket, the first platform built on it, is on the way.

Start building with the SDKBurnMarketComing soon
Start building

From a USD price to a verifiable burn - today.

Install the package, wire up a client, and ship a burn-backed checkout in minutes. No account, no keys to start.

pnpm add @burnkit/sdk