Questions tagged [candy-machine]
103 questions
9
votes
0 answers
Invalid Account Discriminator downloading Metaplex Collections
I updated from anchor 0.17 to version 0.24, and since then, fetching a collection account fails with an anchor error like:
Error: Invalid account discriminator
This is my code
export const getCollectionPDA = async (candyMachineAddress: string):…

alfongj
- 2,255
- 1
- 19
- 23
8
votes
4 answers
Minting NFTs in Solana. Transaction fees
I have already prepared the Candy Machines for minting an NFT collection in the Solana network, and I am testing the Mint process using its Devnet.
Even if you can find a lot of tutorials about how to prepare the candy machines, there are some…

Jaume
- 3,672
- 19
- 60
- 119
6
votes
1 answer
Transaction simulation failed: Attempt to debit an account but found no record of a prior credit
I type the command :
npx ts-node candy-machine-v2-cli.ts upload -e devnet \
-k DEVw4sdjjwo3he1JgJbycZuWmZuC28YFMEY9uYpnP7cP.json -c cm2test \
-cp /users/macbook/git/cmv2/setup/cmsetup.json \
/users/macbook/git/cmv2/setup/uploadfolder
this gives…

aissyla
- 63
- 1
- 4
4
votes
1 answer
Can't import the named export 'PublicKey' from non EcmaScript module (only default export is available)
Describe the bug
Hi, I'm trying using Metaplex to upload the assets and verify the collection, I am now moving towards "Minting Website": https://docs.metaplex.com/candy-machine-v2/mint-frontend
run rpm start inside the folder…

RetroDudeDev
- 49
- 1
- 3
3
votes
2 answers
Add image and name to existing WL spl-token
I have always used the Solana-labs / token-list repo on Github (https://github.com/solana-labs/token-list) to upload an image and name to the tokens I've created via the console, which was nice and easy. But when I went to upload a new one last…

bschmitty
- 1,118
- 3
- 16
- 46
3
votes
1 answer
Access forbidden, contact your app developer or support@rpcpool.com on metaplex candymachine?
I deployed an nft collection on solana using metaplex and candymachine. It was working fine for 4-5 days now suddenly I am receiving this error. I was able to connect wallet and mint fine for a couple of days. I am not sure what's wrong now what I…

Abdulmoiz Ahmer
- 1,953
- 17
- 39
2
votes
1 answer
Error deploying config to Solana network. Error: non-base58 character
I'm testing how Metaplex's Candy Machine works and I'm having the tittle error while uploading using the CMv2-cli.
My config file is the following:
{
"price": 0,
"number": 10,
"gatekeeper": null,
"solTreasuryAccount":…

Paule
- 25
- 4
2
votes
0 answers
Metaplex candymachine whitelist and gatekeeper challenge not compatible
The title may be a bit misleading, but I'll try to explain what the problem is and the steps to reproduce.
The Problem
Whitelisted users (WL token holders) can't mint an NFT when the gatekeeper is enabled.
Error message: Program returned error:…

0xgio
- 121
- 1
- 4
2
votes
1 answer
Error: 410 Gone: "The RPC call or parameters have been disabled."
I have been trying to execute this script (link below) to get NFT Mint Addresses . Unfortunately I always get this error no matter which candy machine v1 or v2 I…

ihssane Ouch
- 25
- 1
- 6
2
votes
2 answers
Update Hidden Settings After Initial Upload
I'd like to change my Candy Machine from having hidden settings to no longer be hidden.
Initially, the Candy Machine is created with hidden settings like these:
hiddenSettings: {
name: "Name",
uri: "uri..."
hash:…

joshyai
- 23
- 3
2
votes
1 answer
what's a better way to handle "Timed out awaiting confirmation on transaction" error on Metaplex CMv2?
the title speaks it all. Lately, I am facing Error: Timed out awaiting confirmation on transaction too often. Be it in a devnet or in a mainnet-beta
tried out various different custom --rpc's but most of the time it just doesn't help regardless of…

Bek
- 173
- 1
- 14
2
votes
1 answer
Can I mint 1 NFT few time(20 times) on Solana candy machine v2?
I have 10 images(NFT) I need to mint each image at least 20 times(10 * 20 = 200 times) is it possible to make it in Solana with Metaplex?
If yes can you please share link to docs or another website?
Thank you in advance!

Turinbek Malikov
- 57
- 5
2
votes
0 answers
Serum anchor initializeConfig() returns A raw constraint was violated
i am trying to create and initialize candy machine config account from web application but transaction failed with following error:
Are there some special need why every tutorial is based on node,js and just minting is on web?
Here is code snippet…

Daniel
- 91
- 4
1
vote
0 answers
When I tried to mint NFTs using cmv3 (from metaplex) in Solana using the ui and sugar-cli tool, I get 0x99 error. What is 0x99 error?
I am using the sugar-cli 1.1.2-alpha+CMv3 to deploy the candymachine. Also, I used a cmv3 mint site to mint different NFTs for different guard groups. The site worked for a long time and for the past three weeks we are getting 0x99 error while…

Sushant Paudel
- 96
- 14
1
vote
1 answer
Update Authority of Candy Machine
I transfer authority of Candy Machine to a new wallet address using this command line
ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts update_candy_machine \
-e devnet \
-k ~/.config/solana/devnet.json \
-cp config.json \
-c temp…

Badre
- 9
- 2