Skip to content

ck256-2000/next-candy-machinev2

 
 

Repository files navigation

Nextjs implementation for Candy Machine v2

credit to @maxwellfortney for next-candy-machine repo https://github.com/maxwellfortney/next-candy-machine

Simple implementation of metaplex candy machine v2, code was ported from FLP and maxwells repo. Tested Captcha in dev, and minted on main without captcha.

2 main variables are NEXT_PUBLIC_CANDY_MACHINE_ID and NEXT_PUBLIC_AIRDROP_TOKEN

candy machine id is the account of the CM, use the public airdrop token for whitelist. The UI will check the connected wallet for the airdrop token and if so, show a reduced timer to mint early for the mint and use the whiteList price settings on UI.

Fill in the empty images/header/title as needed.

Environment Variables

NEXT_PUBLIC_CANDY_MACHINE_ID= NEXT_PUBLIC_AIRDROP_TOKEN=

NEXT_PUBLIC_SOLANA_NETWORK= NEXT_PUBLIC_SOLANA_RPC_HOST=

About

Nextjs Candy Machine V2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.6%
  • JavaScript 6.0%
  • CSS 1.3%
  • Shell 0.1%