metaplex-foundation / candy-machine-ui Goto Github PK
View Code? Open in Web Editor NEWReference minting UI implementation for the Metaplex Candy Machine Program
Home Page: candy-machine-ui.vercel.app
License: Apache License 2.0
Reference minting UI implementation for the Metaplex Candy Machine Program
Home Page: candy-machine-ui.vercel.app
License: Apache License 2.0
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"
}
}
}
.
No response
REACT_APP_CANDY_MACHINE_ID=DDnsCx2AmcPJVmc7qUcEPNz6HH4J6mbB4CeEzsRixc2f
The current Material-UI is outdated and the @solana/wallet-adapter-material-ui is already using v5 of Material-UI
Upgrade dependencies to fit @mui/material
No response
No response
The connect wallet functionality is not working when choosing "Phantom" as a wallet.
It does work when running locally with npm start
or yarn start
, but when building the project and deploying it, Phantom won't connect
I am not sure why this is happening, thought I'd leave an issue
No response
No response
When deploying a v2 candy machine with sugar, if the freeze feature is enabled, the minting no longer works.
When minting with freeze feature enabled, the UI will display the following message
Mint likely failed! Anti-bot SOL 0.01 fee potentially charged! Check the explorer to confirm the mint failed and if so, make sure you are eligible to mint before trying again.
I have attached two candy machine examples that were deployed to mainnet with 0.001 SOL price for testing.
Candy machine with freeze feature enabled example (not working):
Candy machine ID: Ds9X7xZyMLA9aBGTHJeryz6VLSfCqXAuWvA5xfRQQ1yf
URL: https://main.d1625ei51xv45f.amplifyapp.com/
config:
{
"price": 0.001,
"number": 10,
"symbol": "WAR",
"sellerFeeBasisPoints": 500,
"gatekeeper": null,
"solTreasuryAccount": "EtYvyMQNN865k8EcLwjPsze8X1YxPgbqqaCcnxsrsQr2",
"splTokenAccount": null,
"splToken": null,
"goLiveDate": "2022-07-27T20:00:00Z",
"endSettings": {
"endSettingType": "Amount",
"number": 10
},
"whitelistMintSettings": null,
"hiddenSettings": null,
"uploadMethod": "bundlr",
"awsS3Bucket": null,
"retainAuthority": true,
"isMutable": true,
"freezeTime": 86400,
"creators": [
{
"address": "EtYvyMQNN865k8EcLwjPsze8X1YxPgbqqaCcnxsrsQr2",
"share": 100
}
]
}
Candy machine without freeze feature example (working):
Candy machine ID: 4AyWQw9eop32nRaf1N2Dh6hofmFMv2QtG4WBLBgbkPuT
URL: https://working.d1625ei51xv45f.amplifyapp.com/
config:
{
"price": 0.001,
"number": 10,
"symbol": "WAR",
"sellerFeeBasisPoints": 500,
"gatekeeper": null,
"solTreasuryAccount": "EtYvyMQNN865k8EcLwjPsze8X1YxPgbqqaCcnxsrsQr2",
"splTokenAccount": null,
"splToken": null,
"goLiveDate": "2022-07-27T20:00:00Z",
"endSettings": {
"endSettingType": "Amount",
"number": 10
},
"whitelistMintSettings": null,
"hiddenSettings": null,
"uploadMethod": "bundlr",
"awsS3Bucket": null,
"retainAuthority": true,
"isMutable": true,
"creators": [
{
"address": "EtYvyMQNN865k8EcLwjPsze8X1YxPgbqqaCcnxsrsQr2",
"share": 100
}
]
}
Fix the candy machine UI so that when the freezeTime configuration is added, the mint button still works.
No response
No response
.
.
No response
No response
The problem is when you do yarn install, then set your .env file and do yarn start the mint button appears but it is not clickable and in console the following message appears:
TypeError: cndy.state.goLiveDate.toNumber is not a function
Fix the issue related to latest release of candy-machine-ui
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.