Skip to main content

New answers tagged

0 votes

How do i get metadata to upload from my frontend to backend

I would suggest using using signed URL to do the uploads. Major Cloud providers like Amazon and GCP provide methods that you can use from their SDKs If you are looking for a decentralized solution, ...
Jimii's user avatar
  • 2,224
0 votes

How do i get metadata to upload from my frontend to backend

This is the frontend code that sends the metadata info to the backend // src/uploadMetadata.js const { config } = require("dotenv"); config(); const { createMetadataAccountV3, ...
Techy Tro's user avatar
0 votes

why I can not get metadata for some concrete tokens?

Based on Jimii answer but solving some code problems: import { createUmi } from "@metaplex-foundation/umi-bundle-defaults"; // ^0.9.1 import { fetchDigitalAsset, mplTokenMetadata } from '@...
J. Pablo García's user avatar
0 votes

mpl-token-metadata 4.1.2 causing issues

checkout https://www.anchor-lang.com/release-notes/0.29.0 Build error: could not find `metadata` in `anchor_spl` and could not find `pda` in `mpl_token_metadata` https://github.com/metaplex-foundation/...
Sandstorm Symmetry's user avatar
2 votes

Retrieve token metadata

To make your work easier, make the fetches using the DAS API and an RPC provider that supports it like Helius. Codewise, this would take the form. import { keypairIdentity, publicKey, } from &...
Jimii's user avatar
  • 2,224
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,224
0 votes

Solang: Check nft metaplex metadata

4zdNGgAtFsW1cQgHqkiWyRsxaAgxrSRRynnuunxzjxue If the mention above is your SoL address then please reply
Parle G's user avatar
0 votes
Accepted

Can't pass mpl token metadata CPI in anchor solana

The program-derived addresses for the metaplex program are based on the metaplex program id, and not yours, so you'll need to do something like: const [metadata] = anchor.web3.PublicKey....
Jon C's user avatar
  • 14.4k
2 votes

Update metadata for fixed-supply spl-token

In order to create the metadata, Metaplex's metadata program requires a signature from the mint authority, because they don't want to allow anybody to create the metadata for a token. When you create ...
Jon C's user avatar
  • 14.4k
0 votes

Can't pass mpl token metadata CPI in anchor solana

The master edition seeds are ["metadata", ProgramID, mint, "edition"] whereas you are passing in "master" as the first seed.
kwelliott's user avatar
  • 514
1 vote

Update metadata for fixed-supply spl-token

You can set the mint authority to null. This means there can be no more tokens minted: In js you can do that like this: const freezMint = await setAuthority( connection, keyPair, mintkeyPair....
Jonas H.'s user avatar
  • 5,497
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,224

Top 50 recent answers are included