Questions tagged [metaplex]
The metaplex tag has no usage guidance.
249
questions
0
votes
0
answers
3
views
how to find thhe eddsa for updating my spl-token
I'm looking for a way to update my eddsa variable, am using metaplex, am new to updating a token in using metaplex.
there is my code
`import * as mpl from "@metaplex-foundation/mpl-token-...
1
vote
1
answer
31
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 ...
0
votes
1
answer
35
views
Program log: Error: Account is frozen
I previously used a simple NFT on the Metaplex auction house to list, sell, and execute sales. However, now when I try to list my programmable NFT (PNFT), it shows an error: "Program log: Error: ...
1
vote
1
answer
147
views
How to build an instruction to a create metadata account using latest `mpl-token-metadata` library?
Previously, we could get a TransactionInstruction using createCreateMetadataAccountV3Instruction and add the instruction to a transaction.
export declare function ...
2
votes
1
answer
17
views
Error Minting NFT to Unsized Collection in Solana Metaplex: "Can't Use This Function on Unsized Collection"
I'm working on a project using Solana's Metaplex protocol where I'm trying to mint NFTs to an unsized collection. However, I keep encountering an error that says "Can't use this function on ...
1
vote
1
answer
176
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 = ...
0
votes
0
answers
16
views
Metaplex CM Cannot Mint NFT - AnchorError caused by account: candy_guard. Error Code: AccountOwnedByWrongProgram
I'm having trouble minting an NFT using @metaplex-foundation/[email protected]. Whenever I try to do so, I get the following error: AnchorError caused by account: candy_guard. Error Code: ...
0
votes
1
answer
40
views
Minting from CandyMachine in the front end: "Class extends value undefined is not a constructor or null"
I am trying to mint from candy machine in React and following this example from the docs:
import { mplCandyMachine } from '@metaplex-foundation/mpl-candy-machine';
import { createUmi } from '@metaplex-...
0
votes
1
answer
53
views
How to invoke mpl_token_metadata::processor::lock from custom onchain program?
I have been working with pNFT lock function but I can't figure out how to invoke the mpl-token-metadta function.
Anyone has an experience with lock function?
Here is references.
https://github.com/...
1
vote
1
answer
21
views
Use candy machine in anchor program
Are there examples of calling candy machine and candy guard prgoram from an anchor program?
1
vote
2
answers
29
views
Property 'run' does not exist on type 'Promise<FindNftsByOwnerOutput>'
I want to get Nft data from metaplex but i wanna know what does .run() work here and why .run() method does not exist here
const nfts = await metaplex.nfts().findAllByOwner({owner: args.publicKey,})....
1
vote
3
answers
187
views
how to create a fungible token using umi from Metaplex
I have the following function, where I want to create a fungible token using UMI.
const metadata = {
name: "Solana Gold",
symbol: "GOLDSOL",
uri: "https://raw....
0
votes
3
answers
99
views
How to create a metadata account with python?
Original Question
I would like to write a python script that can create tokens. Since the Metaplex Python API seems outdated and only targeted to NFTs, I decided to do it myself. With the help of the (...
0
votes
0
answers
32
views
Error when minting a pNFT collection with candy machine and umi
I am trying to mint a pNFT collection with candy machine using the umi library.
But my code is failing when trying to insert and mint my candy machine items.
async function mintPnftFromCandyMachine() {...
0
votes
1
answer
83
views
Metaplex mpl token metadata returns transaction builder, can we get the instruction?
i'm trying to use metaplex mpl token metadata v3 to burn an nft, and i need the instruction.
When i use burnNft method, it returns a transaction builder instance.
Is there a way to get only the ...
0
votes
1
answer
66
views
I want to get all SPL tokens that are created and have some metadata
Earlier this was done through Solana token registry, although since its shut down what is the new way of fetching the latest tokens
1
vote
1
answer
87
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 ...
0
votes
1
answer
51
views
Can we make Metaplex pNFT immutable?
I know that we can make the old Metaplex NFT standard NFT immutable. But, can the new pNFT standard become immutable as well?
2
votes
1
answer
67
views
Is there a reason why setting the metadata and image URI to Google Storage doesn't work with explorers?
I am minting an NFT and setting the metadata and image URI to public storage buckets on Google Cloud Platform (GCP). I am able to view the image and metadata on my wallet, but only x-ray explorer ...
0
votes
1
answer
42
views
How do I breed to NFT on Solana?
I would like to breed NFTs on the Solana blockchain. Does Metaplex offer a feature for breeding two NFTs, or can we create a custom Rust program for this purpose?
1
vote
2
answers
51
views
Get NFTs From a Collection in a wallet in js
I have found many questions similar to this on stack exchange, But I have not found any working solution.
I want to Give the Public wallet address of a Solana wallet and Collection ID to code.
In ...
2
votes
1
answer
73
views
Metaplex Transfer pNFT failing
I am trying to transfer a pNFT via an anchor program, but it is failing at the TokenProgram.
Logs below
1
vote
0
answers
126
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 ...
2
votes
1
answer
126
views
How to upload files and images using umi
How do I upload my NFT assets using umi from Metaplex.
The docs are in this page. https://github.com/metaplex-foundation/umi/blob/main/docs/storage.md
Is there a tutorial or code snippet of how I can ...
1
vote
0
answers
43
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?
0
votes
1
answer
49
views
Collection is not showing in solscan (minting nft in solana with collection using metaplex)
I have minted a collection and nfts using some codes, and got to same result than those other stackoverflow questions. Nfts are ok, collection is there, but solscan is not showing it in the NFT sheet.
...
2
votes
0
answers
54
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-...
2
votes
1
answer
139
views
Is there an audio file format supported by Metaplex
I've seen support for mp4 under the animation_url field and was wondering, is there a field for adding an audio file to an NFT using Metaplex?
0
votes
0
answers
140
views
WalletSendTransactionError: Signature verification failed when minting NFT from Candy Machine
I am trying to add the capability for a user to be able to mint and NFT from a Candy Machine from the frontend of my website. I am running into this error when the user approves the mint transaction (...
1
vote
2
answers
504
views
How to verify a Metaplex collection?
So my NFT metadata's collection field is like this:
address: "string"
key: "string",
verified: false
Also the collectionDetails is null.
My question is how to verify the ...
1
vote
2
answers
101
views
How to mint multiple cNFTs?
I'm using this fonction to mint a cNFT createMintToCollectionV1Instruction but I don't want to wait 5-10sec before minting an other cNFT.
Has anyone found a solution to this problem?
2
votes
2
answers
102
views
Need to Mint 1 NFT using Js and new Metaplex createNft: Fails ...Attempt to debit an account but found no record of a prior credit
I am trying to create one Js script to mint 1 NFT to test new Metaplex function createNft on: https://developers.metaplex.com/token-metadata/getting-started/js
I am testing on Devnet.
I am providing a ...
0
votes
2
answers
38
views
Error on building sdk with solita on anchor-lang:0.28.0
No matching version is found by solita for anchor-cli: 0.28.0 on https://crates.io/crates/anchor-cli/versions , which gives error.
2
votes
1
answer
238
views
What does `NotFullyLoaded` error mean in candyMachine
I am trying to call the MintV2 candy machine instruction, but I am getting the error below originating from the Guard program.
Here is the code first
async function createCandyMachine() {
const ...
0
votes
2
answers
114
views
Burn nft with mpl token metadata
I'm trying to use metaplex's mpl token metadata to get the burn instruction.
Here is my code :
import { burnNft } from '@metaplex-foundation/mpl-token-metadata'
...
var umi = createUmi(SOLANA_CLUSTER)
...
2
votes
1
answer
146
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 ...
2
votes
1
answer
31
views
How to clone metaplex metadata program to use with solana-test-validator
How do you set up solana-test-validator with the metaplex metadata program to run tests locally?
4
votes
4
answers
670
views
Get NFTs by collection address and owner
I'm trying to get all the NFTs in a collection that a wallet owns, but I only achieved get all the NFTs of a collection, or all the NFTs of a wallet (multi collections).
import { useConnection, ...
1
vote
1
answer
61
views
failed: exceeded CUs meter at BPF instruction #3831
I have an instruction which transfers tokens, pnft and closes the account. I get the above error when I call the instruction from the frontend.
Here's the instruction code
pub fn handler(ctx: Context&...
0
votes
1
answer
284
views
Error "An unexpected error occurred: "https://registry.yarnpkg.com/ccxt/-/ccxt-1.63.71.tgz: Request failed 404 Not Found." occurs when running install
I cloned metaplex(v1.1.1) and ran yarn install and got an error. If anyone knows how to solve this problem, please let me know.
Environment
node --version : v16.18.0
yarn --version : 1.22.19
ts-node --...
0
votes
1
answer
72
views
Getting error when I'm going to mint NFT on testnet using Metaplex
Here is my mint contract
use anchor_lang::prelude::*;
use anchor_lang::solana_program::program::invoke;
use anchor_spl::token::mint_to;
use anchor_spl::token::{MintTo, Token};
use mpl_token_metadata::...
3
votes
2
answers
98
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://...
1
vote
1
answer
104
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?
1
vote
1
answer
75
views
How Print a new Edition from a Master Edition? - "failed: Cross-program invocation with unauthorized signer or writable account"
Guys i am trying to use this function to create a copy of an existing nft, this is the code of the function i have in my solana program:
Metaplex Dcos
pub fn mint_new_edition(
ctx: Context<...
2
votes
1
answer
59
views
umi functions causing Application error: a client-side exception has occurred
My website works fine locally but when deployed to Vercel, I get a client-side exception error. After checking other parts of the website, I've found the culprit to be in my UMI function code. I'm ...
1
vote
1
answer
90
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() ...
0
votes
1
answer
53
views
Best way to batch or parallelize compressed NFTs mints/transfers?
I'm currently building an app where cNFTs are minted by a backend service on behalf of users, therefore not directly minted by users (like with Candymachine).
Ideally, I was thinking about having a ...
0
votes
2
answers
156
views
verify collection on mint
We have built our own NFT contract with merkle tree whitelist. But we are struggeling with the verify_collection part. Is this the correct way of implementing this?
Our update_authority of the NFTs is ...
1
vote
3
answers
77
views
How do I ge the `Token Record` account for a pNFT
Is there a way to access a programmable NFT's Token Record Data using anchor in Rust?
Is there a function for this provided by the Metaplex SDK? I have the address of the account and I just need to ...
3
votes
1
answer
129
views
How can I store more data on-chain in an NFT?
I am creating an NFT that stores a small amount of data - less than 1KB - inside it. The data should be on-chain - not in an external JSON file - as the owner should be able to destroy the NFT easily ...