Giter Club home page Giter Club logo

candy-machine-ui's People

Contributors

ape16z avatar dashaio avatar deepgreenai avatar kevinhcolgan avatar marksackerberg avatar slim-python avatar stegabob avatar steveluscher avatar tonyboylehub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

candy-machine-ui's Issues

[Feature]: Invalid option tokenMint

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

[Feature]: Update Material-UI to the most recent version

Feature

The current Material-UI is outdated and the @solana/wallet-adapter-material-ui is already using v5 of Material-UI

Ideal solution or implementation

Upgrade dependencies to fit @mui/material

Alternative solutions or implementations

No response

Other context

No response

Fix Phantom Wallet Connect

Feature

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

Ideal solution or implementation

I am not sure why this is happening, thought I'd leave an issue

Alternative solutions or implementations

No response

Other context

No response

[Bug]: Candy machine freeze feature breaks minting and causes Anti-bot SOL 0.01 fee message

Feature

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
    }
  ]
}

Ideal solution or implementation

Fix the candy machine UI so that when the freezeTime configuration is added, the mint button still works.

Alternative solutions or implementations

No response

Other context

No response

[Bug]: error cndy.state.goLiveDate.toNumber

Feature

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

Ideal solution or implementation

Fix the issue related to latest release of candy-machine-ui

Alternative solutions or implementations

No response

Other context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.