The world's first candy machine built on Svelte for Solana network. Inspired by React sample
Move to frontend directory and install dependencies. pnpm is recommended to use
$: cd ./frontend
$: pnpm i
Create candy machine using Metaplex. Read tutorial about Metaplex CLI & Detailed Docs. Check out cli output and .cache/temp file to get right IDs
Create Candy Machine and connect it with frontend in a short
$: cd js
$: npm install
$: npm install -g typescript
$: npm install -g ts-node
$: cd packages
$: solana config get
$: ts-node cli upload ./assets --env devnet -k <path/to/your/solana/key/id.json>
$: ts-node cli create_candy_machine -k <path/to/your/solana/key/id.json> -p 5
Copy and save candy machine ID, set it for VITE_CANDY_MACHINE_ID variable in .env.development$: ts-node cli update_candy_machine -k <path/to/your/solana/key/id.json> -d "21 Nov 2021 17:00:00 GMT"
You can also update the price, using -k parameterNow you are ready to launch your Candy Machine
$: pnpm run dev
Go to Mint Page and try it out
Coming soon...