Phangster / candy-machine-mint-vue3

A vue3 candy machine mint, forked from https://github.com/exiled-apes/candy-machine-mint and adapted to vue

Home Page:https://namysh.github.io/candy-machine-mint-vue3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Candy-Machine-Mint-Vue3

This project is a Vue3 version of https://github.com/exiled-apes/candy-machine-mint

A candy machine is an on-chain Solana program (or smart contract) for managing fair mint. Fair mints:

  • Start and finish at the same time for everyone.
  • Won't accept your funds if they're out of NFTs to sell.

Environment Variables

To run the project, update the following variables:

REACT_APP_CANDY_MACHINE_CONFIG=__PLACEHOLDER__

This is a Solana account address. You can get the value for this from the .cache/temp file. This file is created when you run the metaplex upload command in terminal.

REACT_APP_CANDY_MACHINE_ID=__PLACEHOLDER__

Same as above; this is a Solana account address. You can get the value for this from the ./cache/temp file. This file is created when you run the metaplex upload command in terminal.

REACT_APP_TREASURY_ADDRESS=__PLACEHOLDER__

This the Solana address that receives the funds gathered during the minting process. More docs coming as we can test this.

REACT_APP_CANDY_START_DATE=__PLACEHOLDER__

This is a unix time stamp that configures when your mint will be open.

REACT_APP_SOLANA_NETWORK=devnet

This identifies the Solana network you want to connect to. Options are devnet, testnet, and mainnet.

REACT_APP_SOLANA_RPC_HOST=https://explorer-api.devnet.solana.com

This identifies the RPC server your web app will access the Solana network through.

Available Scripts

In the project directory, you can run:

yarn install
npm install

Compiles and hot-reloads for development

yarn serve
npm run serve

Compiles and minifies for production

yarn build
npm run build

About

A vue3 candy machine mint, forked from https://github.com/exiled-apes/candy-machine-mint and adapted to vue

https://namysh.github.io/candy-machine-mint-vue3


Languages

Language:Vue 48.1%Language:TypeScript 42.2%Language:JavaScript 3.3%Language:HTML 2.7%Language:CSS 2.2%Language:Shell 1.5%