Code Monkey home page Code Monkey logo

miura-candy-machine-ui's Introduction

Candy Machine v3 UI Introduction

Hi! This is a production ready Candy Machine V3 responsive UI which can be easily customized. Major features of the CMv3 such as Candy Guards are implemented & auto-detected.

IMPORTANT: Use of Sugar CLI with this UI

To deploy a Candy Machine using Sugar, be sure to use the version that creates account version v1 Candy Machines. The latest sugar version as of updating this readME (29/04/2023) that supports account version 1 CMs, and this UI is sugar v2.0.0-beta.2.

Will look into adding functionality for CMv3 Account version v2 (which supports pNFT, royalty enforcement).

Preview

Desktop preview of Candy Machine V3 — Desktop preview.

Preview it live here.

Deploy with Vercel (recommended)

Vercel is great to host your Candy Machine on, deploy it instantly by clicking the button below.

Deploy with Vercel

Implemented features

  • Responsive UI
  • Single Mint UI
  • Multi Mint UI
  • Start Time Countdown
  • Preview Minted NFTs
  • Guards Supported
    • Start Date
    • End Date
    • Sol Payment
    • Token Payment
    • Mint Limit
    • Bot Tax
    • Token Burn
    • Token Gate
    • NFT Payment
    • NFT Burn
    • NFT Gate
    • Redeemed Amount
    • Address Gate
    • Allow List
    • Gatekeeper

Multi Group

For Multi-group functionality use multi-group branch

Desktop preview of Multi Group Functionality — Desktop preview of multi group functionality.

(PS: For optimal use, limit active/ongoing groups to 1 - button will be added automatically for each active group)

Env Variables

NEXT_PUBLIC_SOLANA_NETWORK=mainnet/devnet
NEXT_PUBLIC_RPC_HOST=networkURL
NEXT_PUBLIC_CANDY_MACHINE_ID=candyMachineID
optional: NEXT_PUBLIC_COLLECTION_IMAGE_URL=https://linktoyourcollectionimage.zyx
If left blank or undefined it will default to the example image
optional: NEXT_PUBLIC_COLLECTION_TITLE='Your Collection title'
If left blank or undefined it will default to the example title
optional: NEXT_PUBLIC_COLLECTION_DESCRIPTION='Your Description for the Collection.'
If left blank or undefined it will default to the example description
optional: NEXT_PUBLIC_TOKEN_TYPE='If needed, your accepted SPL token label, like e.g. USDC'
If left blank or undefined it will default to "Token"
optional: NEXT_PUBLIC_WEBSITE_URL=https://linktoyourwebsite.com
If left blank or undefined it will default to "#"
optional: NEXT_PUBLIC_TWITTER_URL=https://twitter.com/yourproject
If left blank or undefined it will default to "#"
optional: NEXT_PUBLIC_DISCORD_URL=https://discord.com/yourdiscordserver
If left blank or undefined it will default to "#"

If on Vercel or a similar host you need to add these as environmental variables in your project settings.

Quick customization

Want to customize the color scheme? This frontend uses 6 main colors that can be found in globals.css change these values and the changes will apply globally.

:root {
  --main-background-color: #0E0E0E;
  --alt-background-color: #202020;
  --white: #fff;
  --black: #000;
  --primary: #4E44CE;
  --error: #D92D20;
}

Preview alternative Candy Machine states

Candy Machine V3 with Start Date — Candy Machine V3 with Start Date

Candy Machine V3 with Address Gate, Allow List or other similar guards — Candy Machine V3 with Address Gate, Allow List or other similar guards

Collaborating

Want to collaborate and make the repo better? Feel free to submit a pull request to the main branch.

Feedback/Support

If you have any feedback or need support, please submit an issue through Github Issues.

miura-candy-machine-ui's People

Contributors

wearekite avatar arkitoure avatar loompact avatar

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.