Questions tagged [mint]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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,...
omairhasan17's user avatar
0 votes
2 answers
23 views

Given a list of token accounts for a wallet, how do I determine which accounts the user/wallet has mintAuthority?

I built a ui using NextJS and the Solana wallet adapter library. I'm using getParsedTokenAccountsByowner to display all token accounts when the user connects their wallet. I want to map over all these ...
Dmitry Sky's user avatar
2 votes
2 answers
39 views

createInitializeMintInstruction() ----> error: invalid account data for instruction using

I am trying to use the "createInitializeMintInstruction()" using JS to create a token. The problem is when executing, it throws an error. Concretely this one: Transaction simulation failed: ...
lauteriust3's user avatar
0 votes
0 answers
34 views

Stole money from the pool

Help please, I created my token with metaplex umi, everything is fine, the token is created, all metadata is displayed correctly. createAndMint(umi, { mint, authority: umi.identity, name: ...
SolPan's user avatar
  • 1
3 votes
1 answer
40 views

Not Able to mint using Token generated through Solana Playground

I created one Token using Solana Playground following steps on this tutorial. I'm now trying to mint using this token in my terminal using solana-cli. I'm getting below error. Error: "Account ...
Giteshwar Mali's user avatar
1 vote
2 answers
90 views

How to recover SOL sent to a token mint address that I created?

I know it's a monkey brain mistake that I have sent some sol coins from phantom wallet to an SPL token address which I have created. I created this token via Fluxbeam v1. I have been searching online ...
Ididamistake's user avatar
2 votes
1 answer
42 views

Issue with mintTo function

I tried to run the script below but got this error and was wondering where I may have made a mistake? bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) The token was created,...
johnny's user avatar
  • 49
2 votes
3 answers
178 views

Failed Token Develop and Lose Money :)

Before I start, I would like to apologize for writing a long message. I am a novice software developer who is just starting to learn Solana. Therefore, I wrote the whole story from start to finish ...
TryingToBeSolDev's user avatar
0 votes
0 answers
29 views

Minting NFT collection returns error: TransactionExpiredBlockheightExceededError

I'm having trouble minting an NFT collection for testing purposes. I'm creating all the necessary account, creating the instructions and sending the transaction. Am I missing something? (I've tried on ...
Joe Ellul-Turner's user avatar
1 vote
1 answer
301 views

What is the difference between mint and freeze authority?

When I have an SPL token, I can revoke freeze authority and I can revoke mint. What is the difference between these two?
Anonim11's user avatar
2 votes
1 answer
28 views

Mint Authority Being a Signer

I am getting error: Instruction does not support native tokens when trying to initialize a new SPL metadata via: // Invoke the create_metadata_account_v3 instruction on the token metadata program ...
AceGravity's user avatar
2 votes
1 answer
87 views

Change existing token's decimal

Is there any way to change a token's decimals when it is already created?
pleasehelpme's user avatar
2 votes
2 answers
68 views

mint token when supply exceeds 2^64/10*decimals

how can I mint new token when my supply exceeds 2 ^^ 64 / 10 x decimals tokens? Or are there any methods to reduce decimals? Help me please
pleasehelpme's user avatar
1 vote
1 answer
229 views

How to check if a solana token creator can change the name or picture of the token that he sold at dex?

Unfortunately I bought a token at Dex which seems the dev rugged and left. Our community now has taken over the token. I want to know if that dev can change anything now? (Including name of the token, ...
Sali's user avatar
  • 13
1 vote
2 answers
137 views

Mint Token as a PDA via SPL

I'm converting my custom SPL token anchor program from using mint token as a newly generated anchor keypair, to using a PDA instead. It seems that SPL can take either a keypair or PDA for the mint ...
AceGravity's user avatar
0 votes
1 answer
122 views

Provided seeds do not result in a valid address

Here is my initialize instruction: pub fn initialize( ctx: Context<Initialize>, token_name: String, token_symbol: String, token_uri: String, ) -> Result<()> { // PDA ...
Yarik Bratashchuk's user avatar
1 vote
3 answers
46 views

NFT Smart Contract [closed]

I have created NFT tokens by using bellow command: spl-token create-token --decimals 0 ntwze65k6HMR4LiKqeyBPbQGSqT4H4cBVXJEkLxid1N.json spl-token create-account ...
Nomanul Haq's user avatar
2 votes
1 answer
65 views

What is the value of MINT_SIZE, the constant from the Solana spl-token package?

When creating a spl-token mint, we pass in the number for supply. What is the value of MINT_SIZE? Is there a way to create a spl-token mint with infinite supply? If not, What is the maximum number of ...
Russell Philips's user avatar
2 votes
2 answers
99 views

Is it possible yet to use mint tokens supporting both transfer fees and confidential transfers?

I can see in the documentation that Token-2022's transfer fees and confidential transfers are supported (or intended to be supported) when used together. However, when I attempt to mint a token with ...
JTB's user avatar
  • 33
1 vote
1 answer
266 views

Confused about Tokens

I am very new to Solana and am going through the Bootcamp on SOLANA YT channel. Can someone explain me what are tokens? Why do we need tokens? What is Mint? How is SPL different from SOL?
rossexotic's user avatar
0 votes
1 answer
164 views

Collection is not showing in solscan (minting nft in solana with collection using metaplex)

I have minted a collection and nfts using some codes, and got to same result than those other stackoverflow questions. Nfts are ok, collection is there, but solscan is not showing it in the NFT sheet. ...
Harlock's user avatar
  • 33
2 votes
2 answers
298 views

Need to Mint 1 NFT using Js and new Metaplex createNft: Fails ...Attempt to debit an account but found no record of a prior credit

I am trying to create one Js script to mint 1 NFT to test new Metaplex function createNft on: https://developers.metaplex.com/token-metadata/getting-started/js I am testing on Devnet. I am providing a ...
Harlock's user avatar
  • 33
2 votes
2 answers
171 views

Quick Node RPC For Minting

Can we use quicknode rpc to run a metaplex candymachine? i've used ankr before but it couldnt even be used
Mahendra F.A's user avatar
1 vote
1 answer
168 views

How to mint nft using js

When I use umi, it return error related to signerIdentity method. I did research but there was no solution or document about it. When I use js sdk, it return this error: This is the code: This is ...
marethyu's user avatar
  • 333
2 votes
2 answers
788 views

Attach metadata to token with metaplex

I am trying to attach metadata uploaded to arweave to a token. I am using createCreateMetadataAccountV3Instruction from @metaplex-foundation/mpl-token-metadata, but I am getting an error. This is the ...
dev's user avatar
  • 21
0 votes
1 answer
89 views

TokenAccountNotFoundError with getOrCreateAssociatedTokenAccount Typescript

I am trying to simulate minting 100 tokens to a wallet address and when I start the program, I get thrown this error: TokenAccountNotFoundError This is the typescript code for creating the token ...
kattyd's user avatar
  • 1
0 votes
0 answers
194 views

How to batch mint in Candy Machine V3?

**how to mint X NFTs in candy machine at once? here is the answer.** const txs = []; //you have to use for loop to push mint transactions to txs array. now I've used just 2. txs.push( ...
Fable Frog's user avatar
1 vote
1 answer
122 views

How to update NFT metadata inserted to candy machine?

I've created candy machine and already inserted 100 items. now I need to update metadata of 20 items. I tried with metaplex.nfts().update() but it requires transaction dialog. what I want to know is ...
Fable Frog's user avatar
0 votes
0 answers
13 views

How can I set the minting price of candy machine in javascript?

I've created candy machine. but I'm not sure how can I set the minting price of this candy machine. also I don't know where the minting sol is charged in my candy machine. it's creator wallet? anyone ...
Fable Frog's user avatar
1 vote
1 answer
235 views

ProgramNotRecognizedError: The provided program name [mplCandyGuard] is not recognized in the [devnet] cluster

I am trying to mint NFTs from a candy machine v3 using the umi library as shown in this https://docs.metaplex.com/programs/candy-machine/minting . I am using the following code - import React from '...
Joy Mukherjee's user avatar
2 votes
0 answers
148 views

Trying to get latest sugar 2.1.1 version to mint with candy machine ui v3

The candy machine was created using token standard : pnft and guard groups, when minting using the latest sugar alpha version , I can mint from a ui like https://github.com/Solana-Studio/Candy-Machine-...
Andrae Browne's user avatar
0 votes
1 answer
185 views

Error: Signature verification failed when trying to mint tokens

I get the error when trying to mint tokens on web3 with mintToChecked function. Here's the code: async function mintToken( connection: web3.Connection, payer: web3.Keypair, userAddress: ...
denimcodes's user avatar
2 votes
1 answer
196 views

mintV2 with umi Error: Method not Implemented

I'm trying to mint with umi's mintV2 method on devnet for a candy machine that does not have pNFTs set up. The Metaplex doc says the new mintV2 instructions can be used to mint regular NFTs but I'm ...
programmer_b's user avatar
2 votes
1 answer
221 views

Is there any limitations on minting token? I can't mint the token that I made anymore

I have made a token on Solana using dexlab before and the token supply was 100T and I have minted again more token and now the supply are 184T token, I wanna make the total supply like 10 quadrillion ...
Dogen's user avatar
  • 21
1 vote
0 answers
86 views

WalletSendTransactionError: unknown signer: <pubkey from phantom wallet>

How do I fix this error/what might be causing it? I'm trying to have a user use their wallet to sign a partial transaction that I built on my backend. WalletSendTransactionError: unknown signer: <...
xkycc's user avatar
  • 99
1 vote
1 answer
142 views

Metaplex `Nft` object has a 'mint address' and a 'mint account'. What is the difference?

I understand what a mint account is. For example, I know that USDC has a single mint address on mainnet. I know what associated token accounts are. For example, I know that my personal store of USDC ...
mikemaccana's user avatar
  • 1,650
0 votes
0 answers
105 views

How do I get a user to pay for an NFT mint using Candy Machine?

I am trying to create an API call for my backend that would allow a user to mint an NFT through my frontend. How would I go about doing this? Specifically, how would I make the user pay seeing as the ...
xkycc's user avatar
  • 99
2 votes
2 answers
230 views

Error: Signature verification failed while mint NFT

I created a candymachine v3 with sugar and I am trying to mit using the following code: const { nft } = await metaplex.candyMachines().mint({ candyMachine, collectionUpdateAuthority: candyMachine....
Angelo's user avatar
  • 21
0 votes
1 answer
21 views

GetMultiple for Mints?

Let's say we have an array of Pubkeys: let arr: Pubkey[] = [whatever] We have connection.getMultipleAccountsInfo(arr) to get many AccountInfo in one RPC call. We have getMint() from the spl-token ...
Whiteseal's user avatar
  • 2,562
2 votes
1 answer
342 views

How to initialize a PDA mint in anchor

I'm looking to create a mint as PDA in anchor. In this case, the mint will be able to mint tokens.
vicyyn's user avatar
  • 3,875
5 votes
2 answers
912 views

Are mint address and token address identical?

Let's take USDT token https://solscan.io/token/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB I've fetched some of my transaction via Solana API method gettransactions. In those where USDT is transfered,...
Camila326's user avatar
  • 149
3 votes
1 answer
61 views

Where does a Account of a TokenMint store the maximum capacity it has at the moment?

I just started learning Solana, and I have a question that is confusing me. A tokenMint are account that holds specific information about a token. But createMint only requires the mint freeze ...
LAUR_NASA's user avatar
  • 173
4 votes
1 answer
99 views

NFT Breeding Alogrithm

I need a reference to an NFT breading algorithm. The goal is to implement an algorithm that mints an NFT based on the metadata of 2 selected NFTs. The mint should be unique so that no other NTS with ...
Abdullah Qureshi's user avatar
2 votes
0 answers
110 views

How to mint an spl token in a Rust script?

I've been learning Rust and piecing together some code that will mint 1 spl-token. My script compiles, creates an account, initializes a mint, creates the associated token account, and mints 1 token ...
Brian's user avatar
  • 21
1 vote
1 answer
305 views

Metaplex Candy Machine Mint - Error Code: NotFullyLoaded. Error Number: 6020. Error Message: Not all config lines were added to the candy machine

I got an error when minting on candy machine on metaplex js sdk. here is my setup: const u1 = Keypair.generate() // create collection const { nft: collection } = await metaplex ....
Alfian Dwi Nugraha's user avatar
3 votes
2 answers
317 views

How to create a mint account on anchor test?

It would be extremely useful if I could create a mint account from a JSON file to test my anchor program. I have this in my Anchor.toml to add the account when I run anchor test [[test.validator....
rudy rhatal's user avatar
4 votes
1 answer
99 views

How Candy Machine data is stored?

I'm trying to understand how CM works in theory. As much as I understand, smart contracts can't make internet calls so we have to store data in blockchain in order to access it. Therefore I am ...
curiosity's user avatar
  • 489
0 votes
1 answer
70 views

How to check for mint supply on chain?

folks, how do I check for the supply of a mint account on-chain? I have no idea on how to do this. I've tried using: let mint = Mint::unpack_unchecked(accounts.mint.data).unwrap(); Then I get this ...
Dinaiscoding's user avatar
1 vote
1 answer
120 views

How to bulk mint token in a particular wallet in sugar candy machine v2

If minting in the owner's account and then transferring it to the desired address then what is the most efficient way of doing that, so that I don't end up spending a fortune just on minting
Shishir Tiwari's user avatar
1 vote
1 answer
374 views

Convert from Devnet to Mainnet-beta with Metaplex and Sugar

This aligns with Solana but also a reference to Metaplex. Hoping someone can answer as the information found online is slim to none. I have a project ready to go. Using Metaplex w/ Solana CLI. It's ...
jdubz's user avatar
  • 11