Mint several NFTs at once #2079
Unanswered
lefeverela
asked this question in
Q&A
Replies: 2 comments 1 reply
-
That's impossible, I think. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have found this website, where you can mount several nfts at the same time, and use a candy machine under the front end. Any help on how to do it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to play around with the code to be able to mint several NFT at once. Like for example I want my users to be able to mint 10 NFT at once in a single transaction.
I was playing around with the candy-machine.ts and this block of code., and replace the 1 by 2 or other numbers.
Token.createMintToInstruction(
TOKEN_PROGRAM_ID,
mint.publicKey,
userTokenAccountAddress,
payer,
[],
1,
),
But the phantom wallet does not seems to like it and show me the following message ahead of minting: "Transaction may fail to confirm".
Any idea how to change the code to be able to mint several NFT at once? Or what am I doing wrong?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions