Reputation: 53
I am a beginner of metaplex. What I want to achieve is to provide the feature of presale, which means white list!. I followed the instruction in metaplex to set config.json.
}
"whitelistMintSettings": {
"mode" : { "neverBurn": true },
"mint" : "xxxxKnH5",
"presale" : true,
"discountPrice" : 0.5
},
Here, I set xxxxKnH5 as a member of whitelist and let him mint before public mint. Then I update_candy_machine (this works fine). But in the UI interface, I always got error message:
There was a problem fetching whitelist token balance
Home.tsx:184 Error: failed to get token account balance: Invalid param: could not find account
Any idea of why I received this message and how can I fix it?
Upvotes: 0
Views: 117
Reputation: 51
Make sure that the "mint": "XXX...X",
line should contain a 0 decimals SPL-TOKEN.
Moreover, for airdropping it to users, you join the Metaplex Discord server and check the #airdrop-bash
thread. It contains a JS script that'll make airdropping the token to wallets alot easier:)
Upvotes: 0