Token Burn Guard
The Token Burn guard allows minting by burning some of the payer’s tokens from a configured mint account.
If the payer does not have the required amount of tokens to burn, minting will fail.
Burn tokens from
the payer's token account
Core Candy Machine
Owner: Core Candy Machine Core Program
Candy Guard
Owner: Core Candy Guard Program
GuardsToken Burn- Amount- Mint...
Mint Account
Owner: Token Program
Mint from
Core Candy Guard Program
Access Control
Mint from
Core Candy Machine Program
Mint Logic
Asset
Guard Settings
The Token Burn guard contains the following settings:
Amount: The number of tokens to burn.
Mint: The address of the mint account defining the SPL Token we want to burn.
Set up a Candy Machine using the NFT Burn guard
JavaScript
Mint Settings
The Token Burn guard contains the following Mint Settings:
Mint: The address of the mint account defining the SPL Token we want to burn.
Mint with the NFT Burn Guard
JavaScript
You may pass the Mint Settings of the Token Burn guard using the mintArgs
argument like so.
Route Instruction
The Token Burn guard does not support the route instruction.
Last updated