Skip to main content

Questions tagged [metaplex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
15 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 ...
4 votes
1 answer
96 views

spl-token library in xNFT not working

I was trying to work with the @solana/spl-token package in my xNFT with the latest xNFT-starter repository. When I use any function I get the following error: Can't import the named export 'PublicKey' ...
0 votes
1 answer
17 views

Metaplex candy machine v3

what will the python/js script look like to display all the stages and guards? I've tried a lot of options, but I keep making mistakes.
0 votes
2 answers
20 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-...
1 vote
1 answer
30 views

Compressed NFT with attributes

Is there a way to add attributes in metadata to compressed NFT?
3 votes
1 answer
107 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
1 answer
28 views

Netlify suspended all my Solana dApps

Netlify has blocked my account access and suspended my two Solana dApps with no warning. These dApps are still being tested in devnet. Has anyone dealt with this problem before?
1 vote
2 answers
34 views

why I can not get metadata for some concrete tokens?

Using this code: import { Connection, PublicKey } from '@solana/web3.js'; // strong text@metaplex-foundation/mpl-token-metadata": "^2.13.0" import { Metaplex } from '@metaplex-...
0 votes
1 answer
40 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 ...
2 votes
1 answer
33 views

How to Obtain the Metadata URI of a Solana Token Using Python

I am trying to obtain the metadata URI of a Solana token using Python. Specifically, I need to fetch the description and images associated with the token. Currently, I am using DexScreener to get some ...
2 votes
1 answer
34 views

How to fetch token metadata on chain?

I am trying to retrieve the metadata for a token only using on-chain method such as getProgramAccounts. Unfortunately I cannot use any other language except Python so I cannot make use of libraries ...
1 vote
1 answer
28 views

Error "process is not defined" when importing { Metaplex } from '@metaplex-foundation/js';

I have error when import @metaplex-foundation/js lib. I tried following to this docs from metaplex https://github.com/metaplex-foundation/js-examples/tree/main/getting-started-react-cra5 , but it ...
1 vote
1 answer
22 views

Fetching authorization rules PDA for a pNFT

I'm using Metaplex's Umi library to work with pNFTs via a custom program that I built, and one of the required accounts for most instructions is the Authorization Rules (& auth rules program). ...
0 votes
0 answers
28 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. ...
0 votes
1 answer
24 views

How to create a Signer for CreateMetadataAccountV3InstructionAccounts

I am trying to create an object compatible with metaplex's CreateMetadataAccountV3InstructionAccounts to be used in createMetadataAccountV3 function. The CreateMetadataAccountV3InstructionAccounts has ...
0 votes
0 answers
59 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 (...
1 vote
2 answers
240 views

How to transfer frozen NFT's

I've got a problem. I can't send NFT in my JS code, or rather include in transaction token NFT account which has state - frozen. How can I unfreeze it? I've seen an example that I need to use Metaplex....
4 votes
2 answers
131 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: ...
1 vote
1 answer
43 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 ...
2 votes
1 answer
246 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 ...
1 vote
1 answer
43 views

How to Retrieve Token Metadata Including Social Networks in URI Using Python

I'm working on a project where I need to extract metadata from a token, specifically the social networks listed in its URI. I've attempted to use the getAccountInfo method via websockets, but it didn'...
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 ...
0 votes
2 answers
48 views

Can't pass mpl token metadata CPI in anchor solana

I am trying to make a simple anchor app where an NFT is made and listed. Here is my code: #[program] pub mod solft_practice { use super::*; pub fn initialize(ctx: Context<Initialize>, name: ...
0 votes
1 answer
387 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
2 answers
92 views

Assigning Metadata to Fungible SPL Tokens?

Hello Solana community, I'm facing issues assigning metadata (name, ticker, image) to a standard SPL token on the devnet. I've tried the following without success: Metaboss @metaplex/js ; @metaplex-...
1 vote
1 answer
34 views

What's wrong? I'm having problems with Solana imports @solana/spl-token

This is my package.json file: { "name": "TokenCreator", "version": "0.2.0", "license": "MIT", "private": false, "...
0 votes
1 answer
179 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
132 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
65 views

Could not find `pda` and `state` in `mpl_token_metadata`

I have been trying to execute an anchor build command in my program, but I am facing some errors for the mpl_token_metadata package. The error is pointed out for the below block of code: use ...
0 votes
1 answer
24 views

print a mutable nft using printV1 from @metaplex-foundation/mpl-token-metadata

how can I print an edition NFT that is mutable? I'd like to be able to easily update metadata on printed nfts or nfts in a collection. But when I use printV1 it sets the edition to non mutable const ...
2 votes
1 answer
108 views

Accept payment, mint specific NFT to user's wallet using Metaplex (but not candymachine)

I am trying to setup a simple operation for a user to pay X amount to mint a specific NFT. Have it working on the client only with different code but dont like that the user could just change values ...
1 vote
2 answers
80 views

What is the preferred way to create Fungible Token with Metadata on Solana

I created a Fungible Solana Token using Metaplex Umi, mpl token metadata, mplCandyMachine libraries. It seems to be working fine, but I am just wondering if this is the best way to create a fungible ...
1 vote
0 answers
11 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.
0 votes
1 answer
138 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: ...
0 votes
1 answer
134 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, ...
0 votes
1 answer
23 views

Airdropping Test SOL to a Merkle tree Account to Mint a cNFT using Metaplex

When running the code below, I am getting the following error SendTransactionError: failed to send transaction: Transaction simulation failed: Attempt to debit an account but found no record of a ...
1 vote
1 answer
333 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?
0 votes
0 answers
71 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 ...
0 votes
1 answer
62 views

How to specify the amount to be minted and total supply in "createAndMint(...)"?

Fungible tokens The createAndMint(...) function accepts the parameter amount. This is an amount of tokens to be minted immediately, right? Then how to specify the total supply?
1 vote
1 answer
139 views

how to mint compressed NFT using bubblegum inside solana program (rust)

I'm going to write a solana program (rust, probably anchor) which mints NFTs to a collection using Bubblegum standard. I noticed most guide use JS/TS to mint cNFTs with bubblegum, but I need to do ...
1 vote
1 answer
121 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
2 answers
229 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 ...
0 votes
2 answers
46 views

NFT Collections with Token22

Is it possible to create verified collections with token22 and not metaplex? I could add a collection address in the token extensions metadata, but is there anything preventing someone else creating ...
3 votes
1 answer
217 views

Not enough tokens to mint a limited edition

const freezeTx = await createFreezeDelegatedAccountInstruction( { delegate: WALLET.publicKey, tokenAccount: new PublicKey("...
0 votes
1 answer
14 views

About composable metadata standard in one dapp

Can we use umi and mpltokenmetadata lib same time in one solana transaction
1 vote
2 answers
2k 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 ...
1 vote
1 answer
29 views

Are there any specific method get all Nfts by their GroupPointer of `findAllByUpdateAuthority` in the SPL-token 2022?

I'm trying to find all the nft from a same group for a newly created SPL-token-2022 nfts. Previously doing that with metaplex was easy, But now i'm using the new standards.
1 vote
3 answers
2k 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....
1 vote
1 answer
697 views

How to revoke mint and freeze authority on mpl token with solana cli

I need a bit of help with a umi project I made. I created a token like this, import { percentAmount, generateSigner, signerIdentity, createSignerFromKeypair } from "@Metaplex-foundation/umi";...
2 votes
1 answer
23 views

sending a cNFT with canopy depth of 0: Transaction too large

I am trying to send a compressed NFT with a canopy depth of 0, meaning i have to submit a proofpath with a 24 key length. This always gives me a transaction too large error. Is there a way to optimize ...

1
2 3 4 5
7