Timeline for minting cNFTs with Solana Pay QR code
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 16, 2023 at 23:22 | comment | added | john | Here is a repo you reference for minting cnfts with Solana Pay | |
Jun 16, 2023 at 22:17 | comment | added | john |
Is BYcDWRYDZsCQeU9Ew82PG5Gnkxkq2b9N8GWeorN5gdeU the treeAuthority then? If so, its a PDA that's used by the Bubblegum program as both the authority of the tree, and to create a TreeConfig account. Did you use the createCreateTreeInstruction after creating the account for the tree?
|
|
Jun 16, 2023 at 22:12 | comment | added | ritchbeau |
I've created the tree already : ERkzt2Zyau5nnSf877FCQNzQRRxW5xaMJEt4DQhYX97T and in the code I use const tree = new PublicKey("ERkzt2Zyau5nnSf877FCQNzQRRxW5xaMJEt4DQhYX97T")
|
|
Jun 16, 2023 at 22:09 | comment | added | john |
You'll need to first create a new tree. Creating a tree requires two instructions, createAllocTreeIx from @solana/spl-account-compression and createCreateTreeInstruction from @metaplex-foundation/mpl-bubblegum . You can use this as a reference: github.com/Unboxed-Software/cnft-client/blob/master/src/…
|
|
Jun 16, 2023 at 22:02 | comment | added | ritchbeau |
If this possible, my problem is with const [treeAuthority, _bump] = PublicKey.findProgramAddressSync( [merkleTree.toBuffer()], BUBBLEGUM_PROGRAM_ID, ); I don’t understand why the merkleTree.toBase58() = BYcDWRYDZsCQeU9Ew82PG5Gnkxkq2b9N8GWeorN5gdeU which seems to be an address that does not exist.
|
|
Jun 16, 2023 at 20:49 | history | edited | john | CC BY-SA 4.0 |
added 238 characters in body
|
Jun 16, 2023 at 19:39 | history | answered | john | CC BY-SA 4.0 |