Skip to main content
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
  • 2,184
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
2 votes

Netlify suspended all my Solana dApps

Netlify is known to be somewhat unfriendly to crypto, and will sometimes shut sites (even non-crypto) down without warning. I'd recommend using a provider like Vercel or Cloudflare Pages instead.
Joey Meere's user avatar
2 votes

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

Looking at the source code, I think the offsets are incorrect. Given the sizes at https://github.com/metaplex-foundation/mpl-token-metadata/blob/e86de64101fc386dd4cc97b6f107da3de258833a/programs/token-...
Jon C's user avatar
  • 14.4k
2 votes

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

The package is depracated and not in active development. Please switch to Umi and use the associated plugins Metadata Program - @metaplex-foundation/mpl-token-metadata Core Program - @metaplex-...
Jimii's user avatar
  • 2,184
1 vote

How to fetch token metadata on chain?

You could use the DAS API and make use of the fetchAsset RPC call. More info, https://docs.helius.dev/compression-and-das-api/digital-asset-standard-das-api/get-asset The examples are in JS, but I ...
Jimii's user avatar
  • 2,184
1 vote

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

There are a few issues here to disentangle, mainly because you're importing things that don't exist in the @solana/spl-token package: Token only exists in versions before 0.2 CreateMetadataAccountV3 ...
Jon C's user avatar
  • 14.4k
1 vote
Accepted

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

These imports are for older versions From the latest version import them like this use mpl_token_metadata::accounts::{ MasterEdition, Metadata as MetadataAccount }; usage #[account( mut, ...
Jimii's user avatar
  • 2,184

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