Skip to main content
7 votes

How to know the balance of a compressed token account?

Quick answers: To quickly and specifically answer your questions: you do not have to redeem NFTs you do not need a voucher or anything similar you can use the ReadApi to see what compressed NFTs an ...
nickfrosty's user avatar
  • 1,058
5 votes
Accepted

Anchor CPI Bubblegum Burn Error Cause Not Signer

Update: https://github.com/metaplex-foundation/metaplex-program-library/issues/1129 Unfortunately, this is a limitation/bug/known issue with Anchor and using multipl UncheckedAccounts that are ...
john's user avatar
  • 7,445
4 votes
Accepted

how to do basic CPI another program from our program?

You're mixing up different interfaces here. The invoke function is used when the program you're calling isn't an Anchor program and so doesn't implement the CpiContext pattern. Invoke takes two ...
Ademola's user avatar
  • 3,833
3 votes

sending a cNFT with canopy depth of 0: Transaction too large

The way to optimize this and make your tree more composable also with other programs is using a higher canopy depth. Having a proof path of 24 will take 24x32 bytes which is 768 bytes. The max size of ...
Jonas H.'s user avatar
  • 5,777
3 votes

Error using concurrent merkle tree: Invalid root recomputed from proof on SPL Account Comprresion or Bubble Gum Burn

invoke burn instruction must pass proof to remaining accounts. const proofPath: AccountMeta[] = assetProof.proof .map((node: string) => ({ pubkey: new PublicKey(node), isSigner: false, ...
Alfian Dwi Nugraha's user avatar
3 votes

cnft : setAndVerifyCollection : Transaction too large

Try passing asset proofs after the removing the proof already stored with canopy. You can set canopyDepth while creating merkle tree, which basically caches some proofs so that you don't have to pass ...
Athar Mohd's user avatar
2 votes

How to mint multiple cNFTs?

You shouldn't have to wait to mint additional cNFTs, any rate limiting you're experiencing probably has to do with the RPC server you're using.
banana's user avatar
  • 161
2 votes

Can Solana program Instruction's parameter be an Array or Vec?

Send the vec through in your instruction data, not in the account struct :) #[instruction(a: u8, b: [u8;32)] pub struct foo { b: PubKey }
Cloakd's user avatar
  • 421
2 votes

how to mint compressed NFT using bubblegum inside solana program (rust)

You can use reference these example programs: https://github.com/solana-developers/program-examples/tree/main/compression/cnft-vault https://github.com/solana-developers/program-examples/tree/main/...
john's user avatar
  • 7,445
1 vote

Decompression is disabled for this tree

From the listing you provided here, I assume that says the compression is disabled. See the code that throws the error here: https://github.com/metaplex-foundation/mpl-bubblegum/blob/main/programs/...
chalda's user avatar
  • 1,162
1 vote

Bubblegum createTree timeout

The error suggests you are passing in the wrong program address for it, which is weird. Below is the umi TS script import { generateSigner, keypairIdentity, } from "@metaplex-foundation/...
Jimii's user avatar
  • 3,270
1 vote

Cnft collection token documentation

You can check their tests where you can find each one of the steps https://github.com/metaplex-foundation/mpl-bubblegum/tree/main/clients/js/test Those tests should give me most of the workaround to ...
voidpixel's user avatar
1 vote

Frontend Burning cNFT // Transaction size too big

If your cNFTs function fail this may be because you chose a to small canopy depth. Whenever you interact with cNFTs the whole proof path needs to be included into the transaction up to the on chain ...
Jonas H.'s user avatar
  • 5,777

Only top scored, non community-wiki answers of a minimum length are eligible