Skip to main content

Questions tagged [metaplex]

The tag has no usage guidance.

72 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
2 answers
134 views

Metaplex JS SDK returning null when jsonLoaded is True

I'm having an issue while trying to get an NFT's JSON data. Regardless of mint address, I keep getting null. (Using @metaplex-foundation/[email protected] on a free QuickNode RPC). I'm trying the following: ...
8bithero's user avatar
  • 496
4 votes
1 answer
128 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
3 votes
0 answers
188 views

Using createMetadataAccountV3

I am trying to add metadata to my token, so I wrote the following function: import {clusterApiUrl} from "@solana/web3.js"; import {createUmi} from "@metaplex-foundation/umi-bundle-...
Udi Hakim's user avatar
3 votes
2 answers
134 views

List my NFT to auctionhouse using Metaplex JS SDK returns Cannot read properties of undefined (reading 'currency')

I am trying to use Metaplex JS SDK to list NFT. My code is as per below: const METAPLEX = Metaplex.make(connection) .use(keypairIdentity(wallet)) .use(bundlrStorage({ address: 'https://...
CK Chan's user avatar
  • 31
3 votes
1 answer
220 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
2 votes
0 answers
79 views

Transaction simulation failed: Error processing Instruction 3: An account required by the instruction is missing

I am trying to create a Fungible SPL-2022 token with metaplex. I believe I'm missing some key piece of the puzzle here so help would be appreciated. My pseudo-code looks like this: import useUmi from '...
turkeyman84's user avatar
2 votes
0 answers
47 views

How can i get parsed data from metaplex metadata accounts that blongs to a mint account?

How can i get parsed data from metaplex metadata accounts that blongs to a mint account ?!
pooria sarkhan's user avatar
2 votes
0 answers
95 views

Get owner from PDA if the owner is off-curve - DAS API

Is it somehow possible to get and deserialize the owner of the token account if the owner is a PDA and off-curve around this line - https://github.com/metaplex-foundation/digital-asset-rpc-...
Muhit Raihan's user avatar
2 votes
1 answer
540 views

Minting candy machine v3 umi getting incorrect account owner error using express js endpoint

I am using the below in an endpoint to create a candy machine. Currently getting an incorrect account owner following the guide provided here https://docs.metaplex.com/programs/candy-machine/managing-...
Andrae Browne's user avatar
2 votes
1 answer
261 views

mintV2 with umi Error: Method not Implemented

I'm trying to mint with umi's mintV2 method on devnet for a candy machine that does not have pNFTs set up. The Metaplex doc says the new mintV2 instructions can be used to mint regular NFTs but I'm ...
programmer_b's user avatar
2 votes
0 answers
40 views

Solana Metaplex fixed-price-listing

I was working through some tutorials on Metaplex and wanting to leverage the metaplex-program-library instead of using Serum for our secondary marketplace infrastructure. Initially, I only want to ...
goldielox's user avatar
1 vote
0 answers
23 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
1 vote
1 answer
32 views

Compressed NFT with attributes

Is there a way to add attributes in metadata to compressed NFT?
Nutinaguti's user avatar
1 vote
0 answers
12 views

Fetch NFT holders

I want to fetch the NFT holders. I want to pass the address of an NFT and get back all the previous holders of that NFT. I already obtained the collection's holders, but now I need the NFT holders.
Bobz's user avatar
  • 516
1 vote
1 answer
51 views

spl-token Metaplex adding metadata issues

can anyone help with this error. happens after i try run my javascript that i compiled from typescript, to add metadata to my existing solana token. bigint: Failed to load bindings, pure JS will be ...
bigjohn's user avatar
  • 21
1 vote
0 answers
83 views

Is $WIF an NFT or a spl token?

I was looking at $WIF on the block explorers with the goal of determining whether it has a fixed supply, normally I thought block explorers would mention the mint/freeze authority and such, however I ...
wifexplorer's user avatar
1 vote
1 answer
50 views

NFTs on anchor tests

I'm trying to use this guide to create an NFT to test with my anchor program. When I attempt to mint the NFT, I am met with the following error. FailedToSendTransactionError: The transaction could not ...
Morgandril's user avatar
1 vote
1 answer
26 views

standard SPL token transfer fns for wrapper

I'm creating a custom NFT program and SPL token (2 token programs). I need to add additional logic so I am creating a wrapper around the existing SPL token functions. Do I need to add wrappers for ...
AceGravity's user avatar
1 vote
0 answers
172 views

How to burn LP token using Metaplex

How do i burn lp token using metaplex burnv1? This is giving me the error "incorrect account owner" const umi = createUmi(RPC_ENDPOINT).use(walletAdapterIdentity(wallet)).use(...
bicced's user avatar
  • 31
1 vote
0 answers
166 views

Problem with token image

I'm new to solana blockchain development and I was trying my hand at creating a custom token on the devnet but I've been stuck for about a week now. When I mint my token, the name and symbol as well ...
johnny's user avatar
  • 69
1 vote
0 answers
21 views

Using Metaplex mpl-token-metadata program can I restrict minting to a collection nft?

I am creating a Metaplex collection following this doc. I want to mint NFT and add to this collection. But I want to restrict who can add NFT to the collection NFT to a certain address. How can I ...
Tahlil's user avatar
  • 161
1 vote
1 answer
117 views

`Invalid authority type` when trying to Lock an NFT I own via CPIBuilders on anchor

I am trying to call this instruction to lock an NFT. LockCpiBuilder::new(&ctx.accounts.metadata_program) .authority(&ctx.accounts.admin.to_account_info()) //authority ...
Jimii's user avatar
  • 3,160
1 vote
1 answer
83 views

I want to create a Candy Machine That has unlimited items or let's say 10k

I'm creating a candy machine using metaplex sugar how do I configure it to have 10k items if possible unlimited items without having to create multiple JSON files and images? I tried hidden settings ...
Oasis Inc's user avatar
1 vote
0 answers
33 views

How do I directly send nft to other wallet addresses with mint v2

I tried doing this https://developers.metaplex.com/candy-machine/mint It creates the mint account but doesn't transfer the NFT. How do I go about fixing this.
renzo cabarios's user avatar
1 vote
1 answer
65 views

Use candy machine in anchor program

Are there examples of calling candy machine and candy guard prgoram from an anchor program?
Jimii's user avatar
  • 3,160
1 vote
0 answers
115 views

CNFT Lock/Freeze possible?

It is possible to freeze/freezeDelegated for metaplex NFTs. Also pNFTs can be locked in user wallet. I am not able to find any such feature for cNFT, is it possible to freeze/lock cNFT in user wallet?
Piyush Chittara's user avatar
1 vote
0 answers
125 views

Cannot import mplCandyMachine() from @metaplex-foundation/mpl-candy-machine

The imports mentioned in the docs for the JS library are not valid. Following this guide: https://docs.metaplex.com/programs/candy-machine/getting-started, I get the error that 'mplCandyMachine() is ...
Muckee's user avatar
  • 121
1 vote
0 answers
249 views

How to deserialize Metadata account in Typescript without Anchor IDL?

I managed to deserialize everything with this custom getMetadata() function, except for CollectionDetails and ProgrammableConfig. Does anybody know the solutions? /** * This blob of a file is pulled ...
jonasXchen's user avatar
1 vote
1 answer
362 views

transaction.serialize is not a function

I use: **await metaplex.connection.sendTransaction(signedTxs)** but have this error: **transaction.serialize is not a function at StandardWalletAdapter.sendTransaction** do you know how to fix it?
Reza Rezaeian's user avatar
1 vote
1 answer
154 views

Why would the collection be missing from NFT metadata?

I am trying to pull the collection info for some NFTs and getting different metadata back than what is on solscan. Here is my sample code using something from the Genopet Cracked Egg collection. const ...
TedOC's user avatar
  • 11
1 vote
0 answers
110 views

WalletSendTransactionError: unknown signer: <pubkey from phantom wallet>

How do I fix this error/what might be causing it? I'm trying to have a user use their wallet to sign a partial transaction that I built on my backend. WalletSendTransactionError: unknown signer: <...
xkycc's user avatar
  • 99
1 vote
1 answer
243 views

Error TS1259 with Metaplex JS SDK

I am receiving all these errors when working with TypeScript and Metaplex SDK? Anyone know why? 2 import BN from 'bn.js'; ~~ node_modules/@types/bn.js/index.d.ts:598:1 598 export = ...
Bryson's user avatar
  • 63
1 vote
0 answers
49 views

printNewEdition does not work after burning an edition

I use this code to print. metaplex.nfts().printNewEdition({ originalMint: new PublicKey(masterEditionMint) }) Then I use burn_edition_nft instruction to burn the minted one. Both work ...
Asim's user avatar
  • 11
1 vote
0 answers
205 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
1 vote
0 answers
258 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
1 vote
0 answers
656 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
1 vote
0 answers
52 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
  • 428
1 vote
0 answers
84 views

Failing to update primary_sale_happened on an NFT via token account in anchor program

I'm currently developing an escrowed NFT sale contract and when I try to update the primary_sale_happened field of an NFT, after paying the creators and right before transferring it, I get this error ...
Théo Pomies's user avatar
1 vote
1 answer
125 views

Adding funds to Metaplex BundlrStorageDriver

I am building an app that allows you to upload a photo and mint it as an NFT on Solana. I am trying to add funds to a BundlrStorageDriver object like this: const storage = metaplex.storage().driver() ...
Grant Sheen's user avatar
1 vote
0 answers
209 views

Attach metadata to existing fungible token

I have tried to use CreateMetadataV2 to attach the metadata to my token, but the token name, symbol and image is still not changed. The metadata is shown in Solana Explorer with no issue. Is there any ...
Jia Yih's user avatar
  • 11
1 vote
1 answer
136 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
0 votes
2 answers
34 views

How do i get metadata to upload from my frontend to backend

// src/uploadMetadata.js const { config } = require("dotenv"); config(); const { createMetadataAccountV3, updateMetadataAccountV2, findMetadataPda } = require("@metaplex-foundation/mpl-...
Techy Tro's user avatar
0 votes
0 answers
34 views

CandyMachine: Transaction signature verification failure (Backend to frontend)

I'm working on a Solana-based NFT minting project using Candy Machine and I'm encountering a Transaction signature verification failure error when sending transactions from my backend to frontend. ...
Shahid H.'s user avatar
0 votes
1 answer
41 views

Solang: Check nft metaplex metadata

I want to check if NFT belongs to a verified collection address, how can I do that in Solang? For if user wants to deposit nft to the contract, that nft should belong to only the defined collection ...
Jade's user avatar
  • 117
0 votes
0 answers
13 views

How to categorise the assets for Candymachine?

I am making an NFT collection using Solana Metaplex candy machine. Here, I want to release the collection in 8 categories . So when I release the collection, the user are eligible to mint throughout ...
Hemang Joshi's user avatar
0 votes
0 answers
81 views

JavaScript Metaplex - TypeError: Cannot read properties of undefined (reading 'prototype')

I installed metaplex (latest, down to 0.8.10) in a new Vite React app (TypeScript), and when using the createUmi function, it is erroring out with: TypeError: Cannot read properties of undefined (...
user12678's user avatar
0 votes
0 answers
96 views

Where to add setComputeUnitLimit and setComputeUnitPrice so we can adjust fees?

as you know solana Congestion has happened for days now, and i can't get anything trough. I was trying to do a metadata initialization and update, but it keeps failing. i'm a newbie, did a bit of ...
Martin Delagoncey's user avatar
0 votes
1 answer
151 views

How to create a spl22 token?

it creates a token, the transaction is executed. But in the end the token does not appear in the wallet, why? What have I done wrong? wallet, connection, name, symbol, decimals, ...
JackSparrow's user avatar
0 votes
0 answers
41 views

Can't lock nft after delegating using metaplex

According to metaplex docs here : https://developers.metaplex.com/token-metadata/delegates, I first use the approve function to select a delegated authority. The function works as expected and here I ...
Ilker Kadir Ozturk's user avatar
0 votes
0 answers
47 views

Keep failing minting NFT with Candy Machine V2

We use Python to mint NFTs. python solana. Our last minting was in January 2023, but when we tried to mint again now, we confirmed in solscan that mpl was failing. Program returned error: custom ...
ssssoooooo's user avatar