Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 712
2 votes

How to automatically burn solana token occasionally?

To burn tokens you can for use the burn function in js. … Like this for example to burn 1 token every second: Setup: import { getKeypairFromFile } from "@solana-developers/helpers"; import { TOKEN_2022_PROGRAM_ID, burn, createAccount, createMint, mintTo } from …
Jonas H.'s user avatar
  • 7,219
1 vote

Frontend Burning cNFT // Transaction size too big

Here is a working cNFTs burn example: https://github.com/solana-developers/program-examples/blob/main/compression/cnft-burn/tests/cnft-burn.ts …
Jonas H.'s user avatar
  • 7,219
1 vote

Following the Token Extension Program, How do I add a burn function to my token

You can also use the CLI to burn the tokens: spl-token create-token -> Copy MintAddress spl-token create-account MintAddress -> Copy tokenAccount spl-token mint MintAddress 1000 spl-token burn tokenAccount … 10 This will create a token, mint 1000 of it and then burn 10 …
Jonas H.'s user avatar
  • 7,219