Questions tagged [metaplex]

The tag has no usage guidance.

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

I am trying to update a collection minted with a Candy Machine to the MIP-1 standard

I created a collection using the latest Sugar CLI tool about a month ago, and am getting an error when trying to upgrade the collection to the MIP-1 standard. The first collection (the one giving me ...
Ivaldi's user avatar
  • 1
3 votes
1 answer
103 views

Not enough tokens to mint a limited edition

const freezeTx = await createFreezeDelegatedAccountInstruction( { delegate: WALLET.publicKey, tokenAccount: new PublicKey("...
Nguyễn Quang Huy's user avatar
4 votes
1 answer
87 views

NFT Breeding Alogrithm

I need a reference to an NFT breading algorithm. The goal is to implement an algorithm that mints an NFT based on the metadata of 2 selected NFTs. The mint should be unique so that no other NTS with ...
Abdullah Qureshi's user avatar
3 votes
1 answer
301 views

How can I create a transaction that creates an NFT when signed by the user using Metaplex?

I made TypeScript code where I could make an NFT using an image-link as the metadata (taking help from the Solana Stack Exchange site). Now. When I tried to implement it in my frontend, I was getting ...
harry's user avatar
  • 63
1 vote
1 answer
218 views

Metaplex Candy Machine Mint - Error Code: NotFullyLoaded. Error Number: 6020. Error Message: Not all config lines were added to the candy machine

I got an error when minting on candy machine on metaplex js sdk. here is my setup: const u1 = Keypair.generate() // create collection const { nft: collection } = await metaplex ....
Alfian Dwi Nugraha's user avatar
1 vote
0 answers
112 views

Phantom - RPC Error -32603 only on production?

I was following a guide on buildspace and the application worked perfectly. It was a Solana NFT minter working perfect with Phantom in localhost. But after I hosted it on Vercel, I started getting ...
user12245003's user avatar
2 votes
1 answer
158 views

How to import METADATA_PROGRAM_ID. (Buildspace Solana Staking Anchor course)

I'm doing the Anchor Staking part of the solana Buildspace course. I get this error when running the first test: ReferenceError: METADATA_PROGRAM_ID is not defined This is the Anchor Smartcontract I ...
Matti's user avatar
  • 129
3 votes
1 answer
202 views

Uploading an NFT Metadata(image) through an image link

I wanted to ask If for example I have an image link(imgur.com etc) and I wish to use that as the Metadata for my NFT. Would that be possible? I tried doing that: const metaplex = Metaplex.make(...
harry's user avatar
  • 63
1 vote
0 answers
96 views

connection.confirmTransaction() doesn't wait for confirmation [closed]

I am trying to freeze an NFT with the Metaplex SDK. It all goes well and fine and waits for the transaction to be confirmed, then ends the function. I don't know what happened but now it's not waiting ...
incog's user avatar
  • 567
1 vote
1 answer
101 views

Is it possible to fetch the delegate of a solana NFT/Token?

I want to fetch the delegated account/delegate of a specific NFT. Is this possible in either the native web3 API or Metaplex?
incog's user avatar
  • 567
3 votes
1 answer
115 views

how to add new nfts to a candy machine collection?

I have an nft collection that I have created using candy machine. Now I want to add new nfts to it. How do I add the new nfts to the collection?
Muhammad Fahad Saeed's user avatar
5 votes
1 answer
68 views

Possible to add multiple approveDelegateAuthority() in the same transaction?

I am trying to approve delegation of multiple NFTs without having multiple transactions. Is this possible with the metaplex js library? Here is the code: await this.metaplex.tokens()....
incog's user avatar
  • 567
2 votes
0 answers
51 views

TokenNotFoundError using getAssociatedTokenAddress() on MKRS NFT [closed]

I am working on a project that is pretty urgent and this error stays prominent when I try and fetch the Token Account of an MKRS NFT: All other NFTs work fine, so I'm not sure why this one doesn't. ...
incog's user avatar
  • 567
2 votes
1 answer
46 views

Metaplex metadata program creator is verified without signing

In this transaction a metadata account is created in instruction 5.6. (Parsed instruction). In the create metadata instruction from metaplex-metadata-program there is a loop over the creators array. A ...
Tomvkgames's user avatar
1 vote
1 answer
54 views

why does my metaplex.candyMachines().create() variable returns a pending Promise?

i am building a test NFT-minting website on replit.co as a nodeJS project with an Express server i am willing to use the Metaplex JS SDK and its Candy Machines in order to do so i instantiated a ...
Marion ' j ' Molnar's user avatar
1 vote
0 answers
144 views

Cannot burn nft using metaplex burn instruction

0I want to burn an nft using metaplex sdk. I am using the following burn Instruction: const transaction = new Transaction().add( mpl.createBurnNftInstruction({ metadata: metadataPDA, ...
Muhammad Fahad Saeed's user avatar
2 votes
1 answer
65 views

How to take off Discord Roles within minutes of NFT holders when they sold or transfer their nfts?

We are building a Discord holder verification tool on solana and we are almost done with 80% work We are using metaplex SDK to find nfts in the wallet of users. But we have one query how to have a ...
calm mouse's user avatar
1 vote
0 answers
213 views

Deserialize metaplex token metadata instruction data

I would like to dezerialise instruction data to the metaplex token metadata program in node js. For example the instruction data of creating a metadata account v2 or when creating a master edition v3. ...
Tomvkgames's user avatar
0 votes
2 answers
379 views

Is it possible to upload an image to ARWeave using the metaplex JS SDK?

Note: There's a similar question Upload image and metadata to arweave by using `@metaplex-foundation/js` whose accepted answer is "I tried it, it doesn't work, don't use metaplex to upload the ...
mikemaccana's user avatar
  • 1,225
2 votes
1 answer
139 views

Can't find owner's tokens with Metaplex

I'm working on a front-end. I want to fetch all the NFT of a specific collection the user owns. I used to do: const tokens = await metaplex .nfts() .findAllByOwner({ owner: provider.publicKey }...
Dodecahedr0x's user avatar
3 votes
1 answer
63 views

findAllByCreator don't work on custom rpc or mainet-beta

I'm running const nfts = await metaplex.nfts().findAllByCreator({ creator }); the request only works in devnet: 'https://api.devnet.solana.com/', but when I change to another rpc it just gives me an ...
Mentasuave01's user avatar
6 votes
2 answers
227 views

Use any Random Function in anchor lang

Rand lib is supported in rust but not supported in anchor lang. I want to generate a random number lets say between a range of 0-10. Is there is a way I can do in anchor lang. Or alternatively, if ...
Abdullah Qureshi's user avatar
1 vote
1 answer
34 views

How do metaplex candymachine works?

Metaplex candymachine docs doesn't fully explain what in fact candymachines are and that's what I'm wondering. When I create a candymachine, am I creating a new solana program (smart contract), with ...
Pedro's user avatar
  • 63
1 vote
1 answer
1k views

How to retrieve all NFTs owned by a wallet

Given a specific public key of a wallet, how do I get all NFTs that the wallet owns? Calling Metaplex doesn't work, it always returns the NFTs of a specific wallet I can't understand why even though I ...
2095377's user avatar
  • 21
2 votes
0 answers
29 views

What is `store` and `store_bump` [closed]

this is like a parent of the program ID , with a new thing which I am not aware of called store, and store_bump, can someone tell me what is this, the child program is ...
Kid Knot's user avatar
7 votes
1 answer
156 views

Verify Merkle tree in JS - Candy Machine v3

I am attempting to verify a Merkle Tree using the metaplex SDK for the Candy Guard from Cm v3. Specifically I wanna get this working in JS, same as this in Rust What I have is this: import { ...
Billy Mango's user avatar
2 votes
1 answer
220 views

Creating Metaplex metadata from an Anchor program?

I want to create a token entangler that pushes the minting to the user instead of requiring pre-minting by the owner. For that, I'm creating an Anchor program that first mints a collection token and ...
Dodecahedr0x's user avatar
1 vote
1 answer
208 views

Convert from Devnet to Mainnet-beta with Metaplex and Sugar

This aligns with Solana but also a reference to Metaplex. Hoping someone can answer as the information found online is slim to none. I have a project ready to go. Using Metaplex w/ Solana CLI. It's ...
jdubz's user avatar
  • 11
1 vote
1 answer
162 views

How to invoke Metaplex set_and_verify_collection correctly?

I'm working on an NFT project and while I can easily mint an NFT with the Metaplex Token Metadata program (an individual or a collection NFT) I'm struggling somewhat with how to correctly call ...
Brent - ZepetoX's user avatar
1 vote
0 answers
39 views

Use coption Metaplex Beet

I have a misunderstanding and I need your help. I use Metaplex Beet to deserialize data. I'm trying to manage the case of optional data. For that I use COption on my type and the coption() method in ...
Swifty's user avatar
  • 398
1 vote
2 answers
227 views

Metaplex : How to distinguish fake nft from real one with right collection

i process transactions and get metadata of nft but sometimes there are many fake one but i can't distinguish if it's fake or not, so i put them in the real collections. Let's look at some details. let'...
Singh's user avatar
  • 113
1 vote
0 answers
16 views

How to call executeSale function by seller with metaplex js? [closed]

I am facing an issue when executing sale with seller's wallet. It works well with buyer's wallet. How can I fix this issue?
Steve Lee's user avatar
1 vote
2 answers
60 views

How can I fetch a NFT's token account (associated account)?

I am trying to fetch an NFT's token account through Metaplex, and I am not sure which function works. I've tried const nft = await metaplex.nfts().findByMint({ mintAddress: nftMint }); But that doesn'...
incog's user avatar
  • 567
1 vote
1 answer
83 views

Mint Edition from MasterEdition says account is missing

I am trying to mint a edition from a master edition with the following metaplex function: let accounts = vec![ ctx.accounts.new_metadata.to_account_info(), ctx.accounts.new_edition....
philman's user avatar
  • 13
4 votes
0 answers
85 views

Is there a way to destructure a freezeDelegatedNft?

I am looking for a way to destructure a freezeDelegatedNft so I can combine it with another transaction. This is what I have currently: await metaplex.tokens().approveDelegateAuthority({ mintAddress:...
incog's user avatar
  • 567
2 votes
1 answer
157 views

How to tell if NFT is frozen without test-sending?

simple question here, how can I tell if an NFT is frozen without test-sending? Is there a field in the metadata, or a way I can acquire that information through metaplex? Thanks :)
incog's user avatar
  • 567
2 votes
1 answer
43 views

Can you combine transactions into one on the front end?

For example, if I wanted to use Metaplex's Program Library to do something on their program, and wanted to create a front end for it and include a small Solana fee for my work, is it possible to put ...
incog's user avatar
  • 567
4 votes
1 answer
61 views

Metaplex candy machine rust program redeploy

I extract the lib.rs file from the Metaplex candy machine folder. Created a new anchor project via anchor init, pasted the smart contract then I run anchor keys list and pasted the key in declare_id ...
Abdullah Qureshi's user avatar
0 votes
0 answers
126 views

[MetaplexError]: Failed to Send Transaction

I'm using the Metaplex JS SDK on devnet and trying to update an NFT with the following call: const response = await metaplex .nfts() .update({ nftOrSft: nft, ...
degenTy's user avatar
  • 101
1 vote
1 answer
673 views

Candy Machine, Sugar Upload error

I'm new to Candy Machine / Sugar and I'm following the 'My First Candy Machine' tutorial: https://docs.metaplex.com/developer-tools/sugar/tutorials/my-first-candy-machine I've got to the 'sugar upload'...
niico's user avatar
  • 193
4 votes
1 answer
105 views

How to find a masterEdition PDA in Metaplex fixed-price-sale

I'm currently trying to initialize a selling resource and can't get past the masterEdition attribute. Whenever I try to fetch the masterEdition PDA using the referenced seeds [“metadata”, ...
José Henrique Pereira's user avatar
1 vote
1 answer
57 views

Need help with signing user-generated NFTs with Metaplex Certified Collection

Problem: Our users are able to create NFTs during their experience with our dApp. However, we require these newly created NFTs also to be recognized as part of the same Metaplex Certified Collection. ...
zeusdev2022's user avatar
1 vote
1 answer
56 views

How to get cost of uploading data to arweave.net?

const { uri, metadata } = await metaplex .nfts() .uploadMetadata({ name: "Fake 101", image:"https://arweave.net/fCIWuf0GUf6g-f_mN6tKI1txgIgbmb1T6ywYTOfw9Qk", ...
Swaroop Maddu's user avatar
2 votes
1 answer
111 views

Walllet is "locked". Can't pay transaction fees to close/update program

I am currently facing this issue that doesnt let me close my program (I don't really want to loose all the rent right now) https://forums.solana.com/t/help-me-my-wallet-was-locked-unable-to-pay-a-...
Yusuf-Uluc's user avatar
1 vote
2 answers
440 views

How to update the updateAuthority of an NFT

good afternoon everyone! I'm having trouble finding docs / examples on how to change the updateAuthority of a mint address. would someone be able to point me in the right direction / help out here? ...
Nebson's user avatar
  • 11
2 votes
1 answer
239 views

How to retrieve the master NFT edition from the printed edition

I'm looking for the master edition of an NFT from a printed edition. For instance, if I have this NFT (https://explorer.solana.com/address/2ceqd5xghCeJ6gTX8Rf27w8HJkXYRjs644TXBXebi5kT?cluster=devnet), ...
JulienRioux's user avatar
0 votes
1 answer
230 views

Error: An account required by the instruction is missing when calling update_primary_sale_happened_via_token method

I'm trying to update primary_sale_happened to true in the metadata's NFT. I have deployed my program with anchor. But when I test it, I have this error printed in the console: Error: failed to send ...
nitame's user avatar
  • 1
1 vote
1 answer
336 views

Freeze NFT Account via Delegate Access

I'm trying to freeze an NFT via createFreezeDelegatedAccountInstruction but I'm always getting this error: "failed to send transaction: Transaction simulation failed: Error processing Instruction ...
Roc Khalil's user avatar
1 vote
1 answer
203 views

How to disable transfer of spl-token?

Like spl-token authorize <TOKEN_ADDRESS> mint --disable is there any way I can disable the transfer of the token making it an EVM equivalent of Soulbound Tokens (SBT)?
Saicharan Pogul's user avatar
2 votes
0 answers
24 views

How to add twitter and website handles to my spl-token to show in solscan?

I have created an spl-token and added metadata using metaplex createMetadataInstruction. I have added twitter and website links in uri but it is not showing in solscan and even I tried by adding ...
Senorita's user avatar