トレンドトピック
#
Bonk Eco continues to show strength amid $USELESS rally
#
Pump.fun to raise $1B token sale, traders speculating on airdrop
#
Boop.Fun leading the way with a new launchpad on Solana.
$PIGEONのために売って燃やすルーターを作っています。
アンカープログラムはすべての売却を傍受し、SOL出力の一部でPIGEONを買い戻し、それを永久にオンチェーンに焼き上げます。原子力。1件の取引。トークンはプロトコルレベルで消滅します。以下は焼き込みのコードの一例です:
トークン::burn(
CpiContext::new_with_signer(
ctx.accounts.token_program.to_account_info(),
燃やせ {
Mint: ctx.accounts.pigeon_mint.to_account_info(),
差出人:ctx.accounts.router_pigeon_burn_account.to_account_info(),
権限:
},
signer_seeds、
),
to_burn、
)?;
それがSPLのBurnCheckedです。ミントの供給が減少する。受取人もいません。転送もできません。消えた。透明性投稿。群れて参加
Meteora DAMM v2 CPIの経験を持つ開発者を探しています。最終的な統合を完成させ、devnetに届けてもらえます。
鳩

トップ
ランキング
お気に入り
