An Anchor program that burns compressed NFTs (cNFTs) in your collection. The program performs a CPI into the Metaplex Bubblegum program to do the burn.
programs/cnft-burn/— the Anchor program.migrations/— deployment script.
There is no tests/ directory in this example today. The program is intended to be deployed and exercised against a real cluster.
The program ID declared in programs/cnft-burn/src/lib.rs is C6qxH8n6mZxrrbtMtYWYSp8JR8vkQ55X1o4EBg7twnMv. Whether this address is currently deployed on any cluster is not tracked in this repo — verify with solana program show <id> against the cluster you care about.
To deploy your own copy, change the program ID in lib.rs and Anchor.toml, then run anchor build && anchor deploy.
- Metaplex for the Bubblegum program and instruction builders.
- @nickfrosty for the sample code that fetches and creates cNFTs.