Skip to main content
7 votes
Accepted

Is there an audio file format supported by Metaplex

Yes Solana/Metaplex nfts do support audio nfts. There's a few bits of tweaking to do in the metadata to make them valid. You'll need a placeholder image as a form of jpg/png then in the animation ...
Tony Boyle's user avatar
6 votes
Accepted

failed: exceeded CUs meter at BPF instruction

You can add a setComputeUnitLimit() instruction to the transaction: import { Transaction, ComputeBudgetProgram, } from "@solana/web3.js"; let tx = new Transaction(); // needs to be the ...
Kartik Soneji's user avatar
5 votes
Accepted

How to upload files and images using umi

Umi AWS Storage Umi has an UploaderInterface, which you can see the documentation for here. Umi's umi-uploader-aws allows you to create an awsUploader when you create your Umi interface: import { ...
0xIchigo's user avatar
4 votes

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

Follow this tutorial to request extra compute budget for your transaction. :) const modifyComputeUnits = ComputeBudgetProgram.setComputeUnitLimit({ units: 1000000 }); const addPriorityFee = ...
Orion's user avatar
  • 124
4 votes
Accepted

How to build an instruction to a create metadata account using latest `mpl-token-metadata` library?

It was the last day of the Hyperdrive Hackathon and I was stuck exactly at this problem. Since, I have worked with the previous versions of mpl-token-metadata, I was assured that I will be able to ...
0xShuk's user avatar
  • 1,951
4 votes

How to fetch updateAuthority of the NFTs without using metaplex js library?

Try getAssetsByAuthority from DAS API through Helius https://docs.helius.dev/compression-and-das-api/digital-asset-standard-das-api/get-assets-by-authority
john's user avatar
  • 7,467
3 votes

What does `NotFullyLoaded` error mean in candyMachine

Since you have itemsAvailable: 50, you need to add 50 items (config lines) to the candy machine before you can mint. You might have to make multiple calls to addConfigLines() if all of them won't fix ...
Kartik Soneji's user avatar
3 votes

Error on building sdk with solita on anchor-lang:0.28.0

Solution posted by @zkKirol : https://discord.com/channels/848060988636921856/849844496941842432/1153277836157796383 Download the anchor-cli : 0.28.0 binary and copy paste it in .crates folder which ...
Athar Mohd's user avatar
3 votes

Getting SendTransactionError

Few things to check (Usually better to turn off preflight check to see the actual error from the block explorer) Check the symbol isn't too long Check the transaction is not too large (long URLs ...
Cloakd's user avatar
  • 421
3 votes
Accepted

Is there a reason why setting the metadata and image URI to Google Storage doesn't work with explorers?

It looks like you have a CORS error from your Google Cloud Storage. If you check the network tab when you load up sol-scan or the other NFT viewers, you'll see it fails to fetching your JSON metadata, ...
Tony Boyle's user avatar
3 votes
Accepted

How to fetch updateAuthority of the NFTs without using metaplex js library?

you could also look at using metaboss to decode the specific nft mint youre looking to work with and from there recover the update auth. have a look at metaboss here: https://metaboss.rs/decode.html ...
bill_papas_12's user avatar
3 votes

How to get metaplex token metadata for SPL Token 2022?

Umi offers a program repository which can be used to bind a program address with another one, even using their name aliases. umi.programs.bind('splToken', 'splToken2022'); const asset = await ...
Loris Leiva's user avatar
3 votes

Token name and icon are not showing on explorers

The token extensions are pretty new and not yet supported everywhere. Feel free to nag all the wallets and explorers to support metadata and transfer hooks :D Im pretty sure many are working on adding ...
Jonas H.'s user avatar
  • 5,777
3 votes

Token22 create/update metadata using metaplex

Unfortunately you cannot create a metadata account using Metaplex Token Metadata if your Token 2022 mint has the metadata extension enabled. You can find the list of supported Token 2022 extensions on ...
febo's user avatar
  • 53
3 votes

cnft : setAndVerifyCollection : Transaction too large

Try passing asset proofs after the removing the proof already stored with canopy. You can set canopyDepth while creating merkle tree, which basically caches some proofs so that you don't have to pass ...
Athar Mohd's user avatar
3 votes

How can an NFT Creator Sign a transfer to a Buyer if they are not present?

I think the way most marketplaces do this is they have you transfer the NFT to them when it's listed, and then they can sign to transfer it to a buyer without any further interaction from the seller. ...
Callum M's user avatar
  • 3,130
3 votes

How to get Token 2022 Program metadata?

I've used the getTokenMetadata method from the @solana/spl-token package to get this info. // Retrieve and log the metadata state const metadata = await getTokenMetadata( connection, // Connection ...
beeman's user avatar
  • 950
3 votes

How to transfer "frozen" NFT on another wallet using Phantom?

Correct, frozen NFTs can not be transferred. They have to be thawed first. The freeze authority can do that. In cases of programmable NFTs (pNFT) this has to be done by the Metaplex Token Metadata ...
Mark Sackerberg's user avatar
3 votes

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

The way to optimize this and make your tree more composable also with other programs is using a higher canopy depth. Having a proof path of 24 will take 24x32 bytes which is 768 bytes. The max size of ...
Jonas H.'s user avatar
  • 5,777
3 votes

NFT Collections with Token22

The TokenGroup extension, which is currently under audit, will do exactly that, by allowing you to create a group and add member mints to it. Once the audit passes, the functionality will get deployed....
Jon C's user avatar
  • 15.8k
3 votes
Accepted

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

Backend Code Modifications and Clarifications Original Implementation Issues: Incorrect Usage of asset: Initially, asset was mistakenly used where a mint address should have been specified. The asset ...
Christian Liz-Fonts's user avatar
3 votes

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

Metaplex Token Metadata Editions are always immutable. Metaplex Core Editions (The latest standard) can be mutable though. Maybe it's worth considering to use the new standard?
Mark Sackerberg's user avatar
3 votes
Accepted

Fetching authorization rules PDA for a pNFT

You can access the authentication rules for a given pNFT by inspecting the token's metadata account. This can be done with umi, and mpl-token-metadata. Fetching the PDA and it's data will look ...
Joey Meere's user avatar
  • 1,425
3 votes

why I can not get metadata for some concrete tokens?

you are using the deprecated API for the Metaplex SDK. Please switch to UMI and the metadata package import { createUmi } from "@metaplex-foundation/umi-bundle-defaults"; import { ...
Jimii's user avatar
  • 3,460
2 votes
Accepted

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

Unfortunately, it looks like CIVIC WAS the culprit. I followed its implementation to the letter, both from the Metaplex and CIVIC documentation, and it just didn't work. Once CIVIC was taken out ...
Mike Nedelko's user avatar
2 votes
Accepted

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

Metaplex divides its many delegate variants into two classes: some are considered token delegates while the rest are considered metadata delegates. According to the metaplex docs, self-revoke only ...
Ademola's user avatar
  • 3,833
2 votes

How do I ge the `Token Record` account for a pNFT

You can using TokenRecord::from_account_info(). Make sure to import the TokenMetadataAccount trait as well. use mpl_token_metadata::state::{TokenRecord, TokenMetadataAccount}; You use it like so: let ...
Serban's user avatar
  • 1,296
2 votes

How do I breed two NFTs on Solana?

There is no native 'breeding' function in metaplex, but you can check out this anchor program for reference.
Madhav Goyal's user avatar
2 votes

How to mint multiple cNFTs?

You shouldn't have to wait to mint additional cNFTs, any rate limiting you're experiencing probably has to do with the RPC server you're using.
banana's user avatar
  • 161
2 votes
Accepted

How to clone metaplex metadata program to use with solana-test-validator

Use the following command: solana-test-validator --clone-upgradeable-program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s --url https://api.mainnet-beta.solana.com
john's user avatar
  • 7,467

Only top scored, non community-wiki answers of a minimum length are eligible