Questions tagged [bubblegum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

How to get the transaction object in bubblegum?

I have been trying to get the transaction, instructions, or anything that I can use to create my own transaction object for compressed NFTs, and whatever I do looks like everything is replicated and ...
Marco Ordoñez's user avatar
1 vote
1 answer
33 views

How to validate that a cNFT is part of a collection in a program

I want to validate in a program that a cNFT is in a particular collection. Is there a better way to do this than adding a PDA as a delegate to the cNFT collection so that it can sign and call the ...
Slae's user avatar
  • 111
1 vote
2 answers
105 views

How to mint multiple cNFTs?

I'm using this fonction to mint a cNFT createMintToCollectionV1Instruction but I don't want to wait 5-10sec before minting an other cNFT. Has anyone found a solution to this problem?
Greg's user avatar
  • 11
1 vote
1 answer
65 views

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

kinda bump into an issue and not sure what's the problem. I wonder whether the instruction's parameter can be a Vec or an Array? for example: # on-chain program pub struct foo { a: u8, b: ...
Howtech's user avatar
  • 21
2 votes
1 answer
125 views

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

I tried to make a merke tree with Bubblegum and then minted more than one merkle tree, then when I burned one of the compressed nfts I got an error like the one below. what actually happened? when I ...
Alfian Dwi Nugraha's user avatar
4 votes
3 answers
323 views

Anchor CPI Bubblegum Burn Error Cause Not Signer

when i try to do cpi to program bubblegum to call burn instruction with anchor. https://github.com/metaplex-foundation/metaplex-program-library/tree/master/bubblegum/program i got an error : "...
Alfian Dwi Nugraha's user avatar
3 votes
1 answer
81 views

how to do basic CPI another program from our program?

I've read solana and anchor's documentation on doing CPI, but still don't really understand. what is the basis that must be understood when doing CPI program? for example I want to call function ...
Alfian Dwi Nugraha's user avatar
6 votes
1 answer
225 views

How to know the balance of a compressed token account?

I want to use bubblegum, Metaplex's compressed NFT standard in my project. I want to have token-gated functions that check the balance of token accounts for compressed NFTs. Do I have to redeem the ...
Dodecahedr0x's user avatar