Questions tagged [bubblegum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Hot to read Compressed NFT (bubblegum) on-chain

I need to read Compressed NFT (bubblegum) to check NFT owner on-chain. Do I need to get leaf owner from merkle tree? Can you show me how to do in rust program?
0 votes
1 answer
27 views

cnft : setAndVerifyCollection : Transaction too large

i'm trying to set and verify a collection for a compressed nft already minted. i'm using the exact same code as written in the docs : https://developers.metaplex.com/bubblegum/verify-collections ...
2 votes
1 answer
62 views

Frontend Burning cNFT // Transaction size too big

My objective here is to burn cNFTs on the frontend but it keeps failing b/c tx size is too large. I've attempted to do this with the older createBurnInstruction fn as well as the burn fn with umi. I'...
0 votes
0 answers
22 views

How to add royalty on each sale for compressed NFT (cNFT)?

I want to add royalty on each sale for the compressed NFT (cNFT) standard preferably using the Bubblegum tool. How can I achieve this?
1 vote
0 answers
22 views

Can we bulk mint NFTs on cNFT standard using bubblegum program?

I want to mint bulk NFTs given a set of receiver addresses on cNFT standard using the bubblegum program. Is there a way to achieve this?
0 votes
0 answers
23 views

How to let users mint your cNFT collection?

Is there a counterpart to Solana's Candymachine for minting cNFTs directly from a dApp? If not, what steps should be taken to develop a similar system? Would the process involve uploading collection ...
1 vote
1 answer
87 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 ...
1 vote
0 answers
37 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 ...
1 vote
2 answers
181 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?
4 votes
3 answers
425 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 : "...
1 vote
1 answer
192 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: ...
3 votes
1 answer
219 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 ...
6 votes
1 answer
306 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 ...
3 votes
1 answer
121 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 ...