Questions tagged [metaplex]

Use this tag for programming questions related to the Metaplex NFT (non-fungible token) framework.

236 questions
9
votes
0 answers

Invalid Account Discriminator downloading Metaplex Collections

I updated from anchor 0.17 to version 0.24, and since then, fetching a collection account fails with an anchor error like: Error: Invalid account discriminator This is my code export const getCollectionPDA = async (candyMachineAddress: string):…
alfongj
  • 2,255
  • 1
  • 19
  • 23
9
votes
1 answer

How to find all NFTs minted from a v2 candy machine

I'm minting Solana NFTs. Candy machine v2 was recently released and v1 is deprecated. If I create a v2 candy machine and mint some NFTs, how can I later find the hashes from all the tokens that were minted?
emersonthis
  • 32,822
  • 59
  • 210
  • 375
7
votes
3 answers

MintAccount can't be found

I want to create an NFT using the Metaplex SDK with react. But when i execute this function, it throws following error: AccountNotFoundError: The account of type [MintAccount] was not found at the provided address…
M2DT
  • 125
  • 7
7
votes
0 answers

How to find all editions from a master edition NFT in Solana

I'm trying to get all the editions that come from a master edition NFT. According to the docs there is a PDA that links the edition back to the master edition but I can't find this relationship programatically with the Metaplex/Solana sdk. My…
Ari
  • 5,301
  • 8
  • 46
  • 120
5
votes
1 answer

How to register a Solana Fungible token in 2022

Since June 20, 2022, the rules for registering tokens have changed: https://github.com/solana-labs/token-list I have tried the following: 1). Create new tokens through the services: Strata Protocol Token Launchpad Token Creator Demo After creating…
Alexandr Kazakov
  • 682
  • 1
  • 7
  • 15
5
votes
1 answer

Anchor test transaction failed with "An account required by the instruction is missing"

I am trying to code an anchor code where I can mint a new edition nft from a master edition ntf. I looked into the metaplex documentation and rust api documentation to come up with the code below, and am not sure why I am getting this "Error: failed…
4
votes
1 answer

Can't import the named export 'PublicKey' from non EcmaScript module (only default export is available)

Describe the bug Hi, I'm trying using Metaplex to upload the assets and verify the collection, I am now moving towards "Minting Website": https://docs.metaplex.com/candy-machine-v2/mint-frontend run rpm start inside the folder…
4
votes
1 answer

My Javascript file won't run because of bigint error

I am trying to use @metaplex/js to do some NFT minting. Usually my .js files work properly but when I run the file this error comes up. bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) I don't really get what that means.…
RouckyKM
  • 85
  • 1
  • 8
4
votes
2 answers

Solana: Get Candy Machine info from a NFT token using Js

I am trying to find out what is the candy machine id or address for a specific nft. So far I have tried looping through wallet accounts using @solana/web3.js const tokenAccounts = await connection .getParsedTokenAccountsByOwner(publicKey, { …
Eduardo
  • 1,781
  • 3
  • 26
  • 61
4
votes
2 answers

What does "symbol not found in flat namespace '_cairo_fill'" mean?

What does the error Error: dlopen(/Users/me/Documents/metaplex-master/js/node_modules/canvas/build/Release/canvas.node, 0x0001): symbol not found in flat namespace '_cairo_fill' mean? I get this error when running ts-node…
Allleex
  • 137
  • 9
4
votes
1 answer

Solana / web3.js : getting web3.Signer from wallet

I want to send a token from one wallet to another using web3.js and spl-token. To send it I have to create an object named Token, one of the parameters of the constructor of Token() is payer: web3.Signer. const mintPublicKey = new…
matt
  • 329
  • 4
  • 11
4
votes
3 answers

Unable to deploy config to Solana network

I'm uploading nft asset to Solana network and got this error. TypeError: Cannot read properties of undefined (reading 'map') I'm not sure what to adjust though I've referred to numerous tutorials. Below is the code snippet in upload script of…
112233
  • 2,406
  • 3
  • 38
  • 88
3
votes
2 answers

"Error: failed to post funding tx" on metaplex

I am trying to upload solana NFT metadata to arweave.net. I tried below code. await METAPLEX .nfts() .update({ name: newName, nftOrSft: nft, uri: metadataUri }, { commitment:…
Alchemist
  • 325
  • 1
  • 17
3
votes
2 answers

Add image and name to existing WL spl-token

I have always used the Solana-labs / token-list repo on Github (https://github.com/solana-labs/token-list) to upload an image and name to the tokens I've created via the console, which was nice and easy. But when I went to upload a new one last…
bschmitty
  • 1,118
  • 3
  • 16
  • 46
3
votes
1 answer

Metaplex Auction House Error "Error processing Instruction 0: insufficient account keys for instruction"

I have been trying to run the execute_sale ix from the mpl-auction-house package but I get this error in the logs I have got the sellInstruction and buyInstruction working This is my Code const…
Pratik.js
  • 250
  • 1
  • 9
1
2 3
15 16