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,184
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
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,184
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
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
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
Accepted

Error: Unknown https cluster: mainnet

The actual moniker for Solana mainnet is "mainnet-beta", so inputting that should work. Additionally, "https://api.mainnet-beta.solana.com/" should work as well.
Joey Meere's user avatar
0 votes
Accepted

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

I managed to solve my own question. After exploring various options, I found that the DexScanner API provides a straightforward way to retrieve the general information of a token, including the ...
Nerevaine's user avatar
  • 139
0 votes

SPL Token Image not displaying in Phantom or Solscan

Follow this tutorial to have best results https://awoyemivictor.notion.site/Latest-Solana-Token-Creation-Naming-Updating-Step-by-Step-Guide-for-Beginners-July-2022-fc2d8a4042ec49909047ba87eb3aa85a
Hamza Sajid's user avatar
0 votes

Assigning Metadata to Fungible SPL Tokens?

I recently built a simple vue.js app that can create spl token with metadata. Please check this site. https://solana-create-spl-token.vercel.app/ This works well on mainnet, devnet. I hope you find ...
Michael's user avatar
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
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

Making a token on the mainnet; A few questions before I hit enter on the mint command(CLI)

To answer your questions: 1: If you want to create the token at address TWZ2k, you need to pass that keypair into create-token, ie: spl-token create-token <ARGS> TWZ2K-keypair.json 2: It's up to ...
Jon C's user avatar
  • 14.4k
1 vote

Type 'SolanaNftAnchor' is missing the following properties from type 'Idl': address, metadata

As per this answer, it's because the IDL spec was rewritten with the 0.0.30 release and it's incompatible with previous versions of anchor. Please update your anchor TS client version to 0.0.29 "@...
Jimii's user avatar
  • 2,184

Top 50 recent answers are included