Questions tagged [metaplex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 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-...
Emmanuel uzoezie's user avatar
0 votes
1 answer
37 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: ...
Umaid Khalid's user avatar
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 ...
Patrick Whelan's user avatar
0 votes
0 answers
17 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: ...
Soroosh Ansari's user avatar
1 vote
1 answer
33 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
1 vote
1 answer
177 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 ...
john's user avatar
  • 5,465
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() {...
Jimii's user avatar
  • 1,032
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 ...
Jimii's user avatar
  • 1,032
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-...
Leon's user avatar
  • 1
1 vote
2 answers
53 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 ...
M.amanullah behlim's user avatar
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?
Jimii's user avatar
  • 1,032
1 vote
3 answers
206 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....
Jimii's user avatar
  • 1,032
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?
Piyush Chittara's user avatar
0 votes
1 answer
53 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. ...
Harlock's user avatar
  • 33
2 votes
1 answer
136 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 ...
Jimii's user avatar
  • 1,032
1 vote
2 answers
30 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,})....
Divyansh Ch's user avatar
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-...
Muhit Raihan's user avatar
2 votes
1 answer
147 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?
Jimii's user avatar
  • 1,032
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.
Athar Mohd's user avatar
2 votes
2 answers
107 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 ...
Harlock's user avatar
  • 33
2 votes
1 answer
239 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 ...
Jimii's user avatar
  • 1,032
0 votes
2 answers
118 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) ...
Effe2's user avatar
  • 683
0 votes
3 answers
102 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 (...
KingKevin23's user avatar
0 votes
1 answer
85 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 ...
Effe2's user avatar
  • 683
2 votes
1 answer
33 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?
john's user avatar
  • 5,465
1 vote
1 answer
67 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&...
Denim Basumatary's user avatar
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?
Umaid Khalid's user avatar
1 vote
2 answers
105 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?
Greg's user avatar
  • 11
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<...
Jesus Silva's user avatar
2 votes
1 answer
74 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
Jimii's user avatar
  • 1,032
0 votes
1 answer
55 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 ...
Nicolas Six's user avatar
1 vote
1 answer
30 views

How we can create auction contract using anchor?

I have minted NFT using an anchor and metaplex library. But now I want to create an auction on the same NFT, is it possible to create a contract using anchor and metaplex or do I have to use the core ...
Isha Padalia's user avatar
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 ...
Jimii's user avatar
  • 1,032
0 votes
0 answers
16 views

java.lang.IllegalArgumentException: Size must be known in advance when using READ_ALL

I want to fetch an Account using the SolanaKt library Code: try { val serializer = SolanaAccountSerializer(ProgramInfo.serializer()) val account = solana.api.getAccountInfo(serializer, ...
Anam Ansari's user avatar
0 votes
1 answer
76 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::...
Isha Padalia's user avatar
0 votes
1 answer
143 views

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

I have also checked the error repository of metaplex and there i have found this msg: "#[error("This instruction was deprecated in a previous release and is now removed")] Removed, //...
Bhawik chawda's user avatar
1 vote
0 answers
73 views

Help Needed to create PNFT list/sell instruction through Metaplex AuctionHouse

For Non pnft list transactions, I am using the below accounts export declare type SellInstructionAccounts = { wallet: web3.PublicKey; tokenAccount: web3.PublicKey; metadata: web3.PublicKey;...
Kiran Babu Muddam's user avatar
3 votes
1 answer
42 views

Getting SendTransactionError

I'm getting "SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete" Where did i go wrong? const ...
Aru Arshad's user avatar
2 votes
1 answer
96 views

How to self revoke delegate of a nft using revoke function of Metaplex?

Using approve function of metaplex I had transferred the delegate of a nft to another wallet. How can I use the revoke function so that the second wallet can self revoke itself as the delegate without ...
Alwin Helor's user avatar
2 votes
1 answer
61 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 ...
Miles Donald's user avatar
0 votes
1 answer
57 views

how many times go to update solana token metadata?

how many times go to update solana token metadata. I was Updated few times using createUpdateMetadataAccountV2Instruction but still my image doesn't appear.
nuwan's user avatar
  • 3
0 votes
1 answer
31 views

InstructionError: [ 0, 'ComputationalBudgetExceeded' ] Program failed to complete

//lib.rs code use anchor_lang::prelude::*; pub mod mint; pub mod sell; //pub mod swap; use mint::*; use sell::*; //use swap::*; declare_id!("H5sYvvHMEVSJb2QEwrhCmxGKsMHuntiWz3bmVfxUcBnt")...
Shivam Soni's user avatar
2 votes
1 answer
54 views

CandyMachine V2 mints fail with CIVIC since Phantom Wallet v23.X update

I started receiving a strange error when trying to mint via Candymachine V2 on my mint page following the latest major version release of the Phantom Wallet (I believe this toe be v23.X). The mint ...
Mike Nedelko's user avatar
1 vote
1 answer
194 views

Mint from V3 candy machine using Umi. Throws Anchor error - account not insitialised

I have used the Sugar CLI to upload a test candy machine with just 2 items and the collection data, and then set up a simple mintLimit guard. Am am able to find the candyMachine and see all of the ...
Davie Clark's user avatar
2 votes
1 answer
78 views

Error fetching Account Info on Android Kotlin `java.nio.BufferUnderflowException`

I want to fetch an account's data using [Metaplex KT Library][1]. I am still facing error while fetching an account: code: try { val serializer = SolanaAccountSerializer(...
Anam Ansari's user avatar
0 votes
0 answers
59 views

Mint Error TypeError: Cannot read properties of undefined (reading 'length')

I'm using @metaplex-foundation/umi version 0.8.2. I upgraded from 0.7.14 because the older version doesn't install correctly anymore(get error missing serializers module) with the new version my mint ...
Miles Donald's user avatar
1 vote
1 answer
49 views

Error while sending an Instruction in Android (Kotlin): Cross-program invocation with unauthorized signer or writable account

I am getting some error while sending a transaction in Android (Kotlin) Error processing Instruction 0: Cross-program invocation with unauthorized signer or writable account This is the function ...
Anam Ansari's user avatar
4 votes
2 answers
153 views

minting cNFTs with Solana Pay QR code

I'm trying to create a qr code so people can scan it and mint a cNFT. I'm using a transaction request as shown in the Solana Pay docs and using Metaplex Bubblegum for state compression. This is on ...
ritchbeau's user avatar
0 votes
1 answer
54 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/...
Julian's user avatar
  • 116
2 votes
2 answers
41 views

How to update items available count on candy machine UI after someone mints? Next app using umi

I built a ui on next js using typescript and need the items available count to not only show currently available items but to update after a user mints. Currently, I'm using candyMachine.data....
Miles Donald's user avatar

1
2 3 4 5