Skip to main content

Questions tagged [bubblegum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

How to use mpl_bubblegum::instructions::VerifyLeafCpiBuilder?

questions Can someone tell me how to verify that the transaction signer is the owner of the cNFT within a Solana program instruction? Is it done using VerifyLeafCpiBuilder? If so, how should ...
jin yang's user avatar
0 votes
1 answer
25 views

Decompression is disabled for this tree

The following is my merkle tree config for cnft using metaplex bubblegum (solana devnet) { treeConfig: { publicKey: 'Hu4Rqtx2sf5gGKEYkY6TXPxMjUqGQUnASKZ2gCvxXtcZ', header: { executable:...
priyanshu bindal's user avatar
1 vote
2 answers
73 views

Bubblegum createTree timeout

Issue I encountered a timeout issue while using the createTree interface to create a Merkle tree. The method hangs until it times out. Error: Timeout of 1000000ms exceeded. For async tests and ...
jin yang's user avatar
1 vote
0 answers
26 views

How do I create a collection authority PDA that can create multiple collections and mint tokens to a list of accounts under the same merkle tree?

I wanted to find a way to create collections and mint tokens to that collection but instead of having a single collection per merkle tree I want to user multiple collections with different nft ...
Akaus's user avatar
  • 11
0 votes
1 answer
23 views

Facing issue with account creation with bubblegum, Error: Transaction <some signature> failed ({"err":{"InstructionError":[0,{"Custom":1}]}})

I am trying to create account using below method of bubblegum but getting strange error({"err":{"InstructionError":[0,{"Custom":1}]}}) as described here https://github....
blackhorse's user avatar
1 vote
1 answer
250 views

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

I'm going to write a solana program (rust, probably anchor) which mints NFTs to a collection using Bubblegum standard. I noticed most guide use JS/TS to mint cNFTs with bubblegum, but I need to do ...
cablespecific's user avatar
2 votes
1 answer
28 views

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

I am trying to send a compressed NFT with a canopy depth of 0, meaning i have to submit a proofpath with a 24 key length. This always gives me a transaction too large error. Is there a way to optimize ...
Juan Ruiz de Bustillo Ohngemac's user avatar
1 vote
1 answer
61 views

Cnft collection token documentation

I am trying to mint cnfts one by one (no usermint on candy machine) using bublegum and umi and I want them to be part of a collection. There is documentation about creating tree and how to mint cnft ...
Bud Loaded Frogs's user avatar
0 votes
0 answers
34 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?
Peter Ferriman's user avatar
0 votes
1 answer
77 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 ...
Effe2's user avatar
  • 1,250
3 votes
2 answers
171 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'...
painedpineapple's user avatar
0 votes
0 answers
36 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?
Tahlil's user avatar
  • 161
1 vote
0 answers
49 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?
Tahlil's user avatar
  • 161
0 votes
0 answers
32 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 ...
Sid's user avatar
  • 151
1 vote
0 answers
48 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
156 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
215 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
339 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
3 votes
1 answer
353 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
567 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
181 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
376 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