LIQNFT / candy-shop-storefront

Ethereum, Polygon & Solana NFT Storefront & Auctions
https://candyshop.space
Apache License 2.0
119 stars 106 forks source link

Wrong Mint Fee - getting unknown token #11

Closed ToluAgabi closed 2 years ago

ToluAgabi commented 2 years ago

Hello, Thanks for the great work

I've been able to complete the setup.

But When i try to mint the wrong fee comes up, mint should be 1 sol. When i go ahead, I get a success message but an unknown token in the wallet.

Screenshot 2022-06-16 at 8 10 40 PM

I can confirm that mint works from command line using this command:

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token \ -e devnet \ -k ~/.config/solana/devnet.json \ -c example

Please see my Config

{ "price": 1.0, "number": 10, "gatekeeper": null, "solTreasuryAccount": "redacted", "splTokenAccount": null, "splToken": null, "goLiveDate": "16 Jun 2022 18:50:00 GMT", "endSettings": null, "whitelistMintSettings": null, "hiddenSettings": null, "storage": "arweave-sol", "ipfsInfuraProjectId": null, "ipfsInfuraSecret": null, "nftStorageKey": null, "awsS3Bucket": null, "noRetainAuthority": false, "noMutable": false }

tomcyrus commented 2 years ago

@ToluAgabi have you try create an NFT from your own machine I.e downloading Solena on your local machine and connect to your wallet using metaplex Before running this candy machine ? And hope you gave the correct machine ID

ToluAgabi commented 2 years ago

Yes, I'm running everything solana cli and metaplex locally, I've done the upload and verification of the collection

This is my candymachine ID, I can mint from command line but not from the UI, It shows wrong fees as shown in the screenshot.

REACT_APP_CANDY_MACHINE_ID=2Up6EPMfU6PJKVJwcgRujbAUPmabG2WueqT8WGZoWNP5

ToluAgabi commented 2 years ago

fixed by updating UI