← Back to Mint $LUNA β†—

πŸ”₯ $LUNA Buyback & Burn

Every Lunarian mint uses 100% of its SOL to market-buy $LUNA on the open market and burn it β€” permanently reducing supply. No treasury cut. Every buy and every burn is on-chain and verifiable below.

–
$LUNA burned
–
SOL spent on buybacks
–
Buy & burns
How each mint works: 1 Β· You pay 0.1 β—Ž to mint 2 Β· That SOL market-buys $LUNA (Jupiter) 3 Β· The $LUNA is burned (SPL burn β€” supply drops)

On-chain proof β€” every buyback & burn

WhenSOL$LUNA burnedBuy txBurn tx
loading…

The exact code that runs

This is the real server-side function that executes on every mint β€” market-buy, then burn. Nothing hidden.

// 100% buyback-and-burn β€” runs on every mint
async function swapAndBurn(lamports) {
  // 1) market-BUY $LUNA with the mint's SOL, via Jupiter
  const quote = await fetch(`${JUP}/quote?inputMint=SOL&outputMint=$LUNA&amount=${lamports}&slippageBps=500`);
  const swapTx = await fetch(`${JUP}/swap`, { quoteResponse: quote, userPublicKey: TREASURY });
  treasury.sign(swapTx); await send(swapTx);              // SOL -> $LUNA (on-chain, verifiable)

  // 2) BURN every $LUNA we just bought (SPL burn -> total supply actually drops)
  const bought = balanceAfter - balanceBefore;
  const burnIx = createBurnInstruction(lunaAccount, LUNA_MINT, treasury, bought);
  treasury.sign(burnTx); await send(burnTx);              // $LUNA -> destroyed forever

  return { swapSig, burnSig, lunaBurned: bought };        // both signatures logged + shown above
}