This is a barebones implementation of Candy Machine V2 frontend, intended for users who want to quickly get started selling Solana NFT's. Some code has been ported from the Fair Launch Protocol frontend in the Metaplex repo. This has been tested with Candy Machine programs on both devnet and mainnet-beta.
The app was built using Svelte + Vite and uses TailwindCSS for styles.
This is code is open-sourced from SolaRare @ https://solarare.com, a Candy Machine Mint Page generator.
Required:
- VITE_APP_CANDY_MACHINE_ID=
- VITE_APP_SOLANA_NETWORK=
- VITE_APP_SOLANA_RPC_HOST=
Optional: Populate with your Google Analytics Measurement ID (in the format G-XXXXXXXXXX)
- VITE_APP_GOOGLE_ANALYTICS=
Devnet:
- VITE_APP_SOLANA_NETWORK=devnet
- VITE_APP_SOLANA_RPC_HOST=https://explorer-api.devnet.solana.com
Mainnet-beta:
- VITE_APP_SOLANA_NETWORK=mainnet-beta
- VITE_APP_SOLANA_RPC_HOST=https://api.mainnet-beta.solana.com
- TITLE
- DESCRIPTION
- IMAGE_LINK
- HEADER_TITLE
- HEADER_LINK
- yarn install
- yarn dev
SOL: AfJEqYhgfMipRkAej9dMbEoxdfbwcCVyTAU3mjS29VZ2