Questions tagged [metaplex]
The metaplex tag has no usage guidance.
307
questions
1
vote
1
answer
53
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 ...
0
votes
0
answers
35
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
25
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
21
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 ...
0
votes
2
answers
26
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 ...
0
votes
1
answer
13
views
About composable metadata standard in one dapp
Can we use umi and mpltokenmetadata lib same time in one solana transaction
1
vote
1
answer
28
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.
2
votes
1
answer
16
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
vote
1
answer
84
views
How can I add metadata to an existing fungible token? [duplicate]
I have an existing token mint created with the createMint() from "@solana/spl-token"
How can I add metadata to the fungible token?
The Metaplex docs cover creating a new fungible token from ...
1
vote
1
answer
18
views
Cnft collection token documentation
I am trying to mint cnfts one by one (no usermint on candy machine) using bublegum and umi and I want them to be part of a collection.
There is documentation about creating tree and how to mint cnft ...
2
votes
0
answers
44
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 '...
0
votes
1
answer
100
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
0
answers
24
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 ...
0
votes
0
answers
37
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 ...
1
vote
1
answer
61
views
Why does Metaplex official doc omit many details about its token standards in Metadata account?
Right now in March 2024, I can read the official doc of token standards here. The doc says a lot about the fields in the JSON-formatted Metadata account, like name, symbol, description, image, etc.
...
1
vote
0
answers
70
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 ...
0
votes
1
answer
40
views
uploading metadata using React
Facing an issue while uploading the metadata from React.
const metaplex = Metaplex.make(connection)
.use(walletAdapterIdentity(wallet.adapter))
.use(
bundlrStorage({
address: &...
0
votes
1
answer
63
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-...
0
votes
0
answers
25
views
How can I mint a cNFT by web3 js?
I have a js function that mint an NFT by providing some parameters (image, name, symbol, etc). This is my current version of function:
async function createNFT(connection, privateKey, nftSymbol, ...
0
votes
0
answers
32
views
Candy Machine mintV2 - Error: failed to send transaction: Transaction simulation failed - Incorrect collection NFT authority
I have Created following candy machine, fetching and adding items, everything works as expected:
let collection = await createNft(umi, {
mint: collectionMint,
authority: collectionUpdateAuthority,...
0
votes
0
answers
25
views
Hot to read Compressed NFT (bubblegum) on-chain
I need to read Compressed NFT (bubblegum) to check NFT owner on-chain.
Do I need to get leaf owner from merkle tree?
Can you show me how to do in rust program?
1
vote
1
answer
56
views
Metaplex - Attempt to debit an account but found no record of a prior credit
I'm really strugling to much on this one as I don't understand my error.
My goal is to imput metadata on my token thx to Metaplex and here is my code :
import {Collection, ...
1
vote
1
answer
503
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";...
1
vote
1
answer
240
views
Best way to fetch metaplex token metadata
In a NextJS app. Say I enable a user to created a basic token using the @metaplex-foundation/mpl-token-metadata library with some metadata like name, symbol, decimal, uri etc... And I also enable the ...
0
votes
0
answers
16
views
spl-token library failing to fetch rent exemption minumum?
I'm working with the @solana/spl-token lib, and when running createMint, I keep getting hit with TypeError: fetch failed. I have narrowed this down to the getMinimumBalanceForRentExemptMint function ...
1
vote
1
answer
40
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 ...
0
votes
2
answers
62
views
Where is the `mpl_token_metadata.so` file?
I'm trying to use Metaplex Amman to run a local solana validator that has the Token Metadata program preloaded. I need this to create a token. At least I think I do. Every example I look at, no one is ...
0
votes
0
answers
47
views
NFTs and Anchor in 2024
In 2024, how does one go about creating a collection and minting NFTs through an anchor contract? all docs seem to be old and often deprecated. all help is appreciated.
1
vote
1
answer
24
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 ...
0
votes
0
answers
117
views
Why won't solscan display the metadata on this token?
Token account: https://solscan.io/token/FgR2pbKw6GAc1C4gj6wUDB4A7bxpyNKCbYQUXgcym5Y8?cluster=devnet
Add metadata: https://solscan.io/tx/...
0
votes
1
answer
118
views
How to transfer "frozen" NFT on another wallet using Phantom?
I can't send NFTs that have state - frozen. I get an error that the account is frozen or a signature error.
How do I do it? I read that I should try to send them through Metaplex somehow. But I have ...
2
votes
1
answer
348
views
How to get Token 2022 Program metadata?
Everything works for tokens with Token Program (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA).
import * as solWeb3 from '@solana/web3.js';
import { Metaplex } from '@metaplex-foundation/js';
const ...
1
vote
1
answer
83
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....
1
vote
0
answers
161
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(...
2
votes
1
answer
58
views
How can an NFT Creator Sign a transfer to a Buyer if they are not present?
I have built a POC platform where a 'Creator' can create NFT's (Master Editions) and mint Print Editions for sale.
Currently if you want to 'Buy' the NFT and transfer it to the Buyer, 2 signers are ...
0
votes
1
answer
51
views
cnft : setAndVerifyCollection : Transaction too large
i'm trying to set and verify a collection for a compressed nft already minted.
i'm using the exact same code as written in the docs : https://developers.metaplex.com/bubblegum/verify-collections
...
0
votes
0
answers
37
views
update Authority error
i have made an nft collection through candy machine i am trying to mint an nft in my rust code and trying to mint to that same collection but i am getting an error saying wrong update authority.while ...
1
vote
1
answer
56
views
NFT Minting failing on Localhost / MPL Metadata (solana-test-validator with meta clone)
I'm running a local test validator via:
solana-test-validator --ledger=".anchor/test-ledger" --clone="metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" --url="https://api.mainnet-...
1
vote
0
answers
138
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 ...
3
votes
1
answer
140
views
Unable to configure signer for delegate using walletAdapterIdentity (metaplex UMI)
Getting an error publicKey.toBase58 is not a function when calling delegateStaingV1
I've spent quite some time making sure my UMI instance is setup correctly to use the walletAdapterIdentity plugin ...
0
votes
0
answers
104
views
Signing a transaction on the client side with walletAdapterIdentity plugin, but getting an error
Im trying to sign a transaction on the client side with walletAdapterIdentity plugin, but I'm getting the error:
TypeError: wallet.signTransaction is not a function
Its strange because ...
0
votes
0
answers
51
views
pNFT delegate via metaplex umi
I'm trying to build a tx for the client to sign that will delegate the pNFT to a new address. I am using Metaplex's Umi and the walletAdapterIdentity plugin.
I'm getting an error when I try to run my ...
3
votes
0
answers
137
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-...
0
votes
0
answers
25
views
Add freeze/lock authority for NFTs created with candy machine
I am trying to create an NFT with Candy machine using candy machine npm library. I want to set the freeze authority to the creator of the NFT to allow the NFT creator to disable transfer ...
0
votes
0
answers
16
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 ...
0
votes
1
answer
308
views
Transferring custom token to a phantom wallet
I'm just beginning as a solana blockchain developer and I was just wondering, how can I transfer custom tokens on solana devnet to another wallet. It's been confusing me for a bit now.
0
votes
1
answer
251
views
Update Metaplex's token metadata - how to change the mutable parameter
I'm using the spl-token command line.
What is the simplest way to change the token metadata (from the Metaplex Token Metadata program) and set mutable to false?
Thanks!
1
vote
1
answer
87
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
...
1
vote
1
answer
80
views
Update mint & freeze authority for an NFT
This is the command I'm using to update the authority of my NFT at address 9ZgNKyB7qoqpEeMmQqxg9MNJASCb5S9rc2sLN7ZbZ9w8:
spl-token authorize 9ZgNKyB7qoqpEeMmQqxg9MNJASCb5S9rc2sLN7ZbZ9w8 mint ...
1
vote
1
answer
588
views
Token22 create/update metadata using metaplex
The token was created using the Token22 program and the metadata was added directly to the mint account as described in the documentation:
https://spl.solana.com/token-2022/extensions#metadata
Because ...