
Guards are modular pieces of code that can restrict access to the mint of a Candy Machine and even add new features to it! (Source: ). Add Candy Guards Ĭandy Machine V3 includes a nifty new feature called "Candy Guards" (or just Guards for short). If you're getting an error or have questions, shoot us a line on Discord, and we will be happy to help.īefore moving on, delete or comment out your call to generateCandyMachine() as we will no longer need it.
ONE STEP FROM EDEN DEMO SECRETS UPDATE
A placeholder for your Candy Machine ID (we will update this later).Īdd the following declarations below SOLANA_CONNECTION to establish the wallet we will be using and placeholders for the NFT metadata and the Candy Machine ID:.The mint address for the NFT you would like to use as your Collection NFT (this is the cover image you might see for the collection in a wallet or exchange.

ONE STEP FROM EDEN DEMO SECRETS HOW TO
You're welcome to incorporate image and metadata uploading into this exercise-for more information on uploading to Arweave using the Metaplex JS SDK, check out our guide on How to Mint an NFT on Solana using Typescript).

Implement a Candy Guard for your Candy Machine.In this guide, you will create a new V3 Candy Machine through your own TypeScript application. Metaplex has added several new features, notably Candy Guards (a tool for restricting or limiting access to NFT mints) which we'll implement in this guide. How to Create a Solana NFT Collection using Candy Machine V3 and TypeScriptĪre you ready to launch your NFT collection on Solana? If so, you've come to the right place! We'll explore Metaplex's new JS SDK which brings the power of Candy Machine to your JavaScript and TypeScript applications to allow for quick and easy minting.
