Skip to main content

New answers tagged

3 votes

Accept payment, mint specific NFT to user's wallet using Metaplex (but not candymachine)

Backend Code Modifications and Clarifications Original Implementation Issues: Incorrect Usage of asset: Initially, asset was mistakenly used where a mint address should have been specified. The asset ...
Christian Liz-Fonts's user avatar
1 vote

What is the preferred way to create Fungible Token with Metadata on Solana

I'm fairly sure createMetadataAccountV2 does not work anymore - Metaplex doesn't publish changelogs for their software, but a friend who used to work there mentioned the program has been switched off. ...
mikemaccana's user avatar
  • 1,845
1 vote

What is the preferred way to create Fungible Token with Metadata on Solana

both methods are viable. Using umi and mpl-token-metadata is the newer method that Metaplex recommends. createMetadataAccountV3 is using the instructions directly basically and does not allow you to ...
Mark Sackerberg's user avatar
1 vote

Airdropping Test SOL to a Merkle tree Account to Mint a cNFT using Metaplex

there is a slight misunderstanding here. You do not have to send SOL to the tree, but to the wallet that you are using to create the tree. This can be an existing wallet or a generated one. import { ...
Mark Sackerberg's user avatar
1 vote
Accepted

How to specify the amount to be minted and total supply in "createAndMint(...)"?

The total supply is defined as the total number of tokens currently minted, so if amount is the amount of tokens to be minted immediately, then total supply will be that amount. If you decide to mint ...
Jon C's user avatar
  • 13.1k
0 votes

Metaplex JS SDK returning null when jsonLoaded is True

The issue you're encountering with fetching NFT JSON data using the @metaplex-foundation/js library and receiving null for the JSON field, despite jsonLoaded: true, can stem from a few potential ...
udaysharma's user avatar
0 votes

spl-token Metaplex adding metadata issues

The error says: Error: failed to get info about account 35a57yb7LfwQcAj5QTkAw3M9T62wGiZjXc1aiz2j9WGg This means the account at address 35a57yb7LfwQcAj5QTkAw3M9T62wGiZjXc1aiz2j9WGg does not exist. ...
Jon C's user avatar
  • 13.1k
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,185
2 votes

NFT Collections with Token22

The TokenGroup extension, which is currently under audit, will do exactly that, by allowing you to create a group and add member mints to it. Once the audit passes, the functionality will get deployed....
Jon C's user avatar
  • 13.1k
0 votes

NFT Collections with Token22

As far as I know Token22 does not currently have a concept of collections. Anza is planning to integrate it in a future version. Metaplex Token Metadata (which can be used with Token22) and Metaplex ...
Mark Sackerberg's user avatar
2 votes

About composable metadata standard in one dapp

Sure. @metaplex-foundation/mpl-token-metadata actually is some kind of umi plugin. E.g. if you mint a NFT using it you first set up umi, then run the mpl token metadata function: import { ...
Mark Sackerberg's user avatar
2 votes

How to build an instruction to a create metadata account using latest `mpl-token-metadata` library?

A simpler solution, using mpl-token-metadata version 2 (no Umi). @metaplex-foundation/mpl-token-metadata version 3 duplicates a lot of web3.js unnecessarily and requires learning a bunch of additional ...
mikemaccana's user avatar
  • 1,845
1 vote

Are there any specific method get all Nfts by their GroupPointer of `findAllByUpdateAuthority` in the SPL-token 2022?

There's no way to do it with the current libraries, but you can probably code it up yourself. The question is a bit vague, because you mention all NFTs from the same group, but then bring up their ...
Jon C's user avatar
  • 13.1k
0 votes

how to create a fungible token using umi from Metaplex

The answer by jmontes is correct. The function overload createAndMint() takes arguments to create and mint the token. import { percentAmount, generateSigner, publicKey, PublicKey } from '@metaplex-...
Marcelo D's user avatar
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,032
0 votes

"Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s failed: custom program error: 0x4b"

This error occurred for me when using Metaplex @metaplex-foundation/[email protected] to avoid singificant additional complexity with Umi in V3. It seems the matching on chain program has been ...
mikemaccana's user avatar
  • 1,845
1 vote

How can I add metadata to an existing fungible token?

Below is a script you can reference to create a metaplex metadata account, just replace wallet_1 with a funded keypair. Adapted from the solution from this stack exchange question. import { ...
john's user avatar
  • 7,185
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

Top 50 recent answers are included