metaplex-foundation / candy-machine-ui

Reference minting UI implementation for the Metaplex Candy Machine Program

Home Page:candy-machine-ui.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: Invalid option tokenMint

alexmdcampo opened this issue · comments

Feature

Error on use candy guards

Error: Invalid option tokenMint
at OptionLayout.decode (index.ts:148:1)
at Structure.decode (Layout.js:1234:1)
at AccountsCoder.decode (accounts.ts:51:1)
at AccountClient.fetchNullable (account.ts:143:1)
at async AccountClient.fetch (account.ts:152:1)
at async getProgramState (candy-machine.ts:178:1)
at async Promise.all (:3000/index 0)
at async getCandyMachineState (candy-machine.ts:187:1)
at async Home.tsx:99:1

"guards": {
"default": {
"mintLimit": {
"id" : 1,
"limit": 20
},
"startDate": {
"date": "2022-10-23T20:00:00Z"
}
}
}

Ideal solution or implementation

.

Alternative solutions or implementations

No response

Other context

REACT_APP_CANDY_MACHINE_ID=DDnsCx2AmcPJVmc7qUcEPNz6HH4J6mbB4CeEzsRixc2f

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.

Some problem for here! any solution?

Same here! Just forked the project, added a valid machine id in .env and getting the same error.