Follow these steps to set up and run the Deanslist Core Candymachine:
-
Setup Assets Folder
-
Prepare the
assets
folder using one of the art engines. -
Check metadata
-
Check collection metadata
-
Hashlip config:
// General metadata for Ethereum const namePrefix = "PERK"; const description = "Get your IslandDAO Perk"; const baseUri = "https://gateway.irys.xyz/"; const solanaMetadata = { symbol: "PERKS", seller_fee_basis_points: 500, // Define how much % you want from secondary market sales 500 = 5% external_url: "https://x.com/deanslistDAO", "creators": [ { "address": "FThth1Uwkw1JJKMkKohpgiEshYKZojMpfhGHMf2rLZNR", // Dean's List DAO Strategic Reserve "share": 100 } ] }; // If you have selected Solana then the collection starts from 0 automatically const layerConfigurations = [ { growEditionSizeTo: 276, // DRAGON layersOrder: [ { name: "Backgrounds" }, { name: "DRAGON/Bases", options: { displayName: "Colour" } }, { name: "DRAGON/Hats", options: { displayName: "Hat" } }, {name: "DRAGON/Animal", options: {displayName: "Animal"}} ], }, { growEditionSizeTo: 552, // GOAT layersOrder: [ { name: "Backgrounds" }, { name: "GOAT/Bases", options: { displayName: "Colour" } }, { name: "GOAT/Hats", options: { displayName: "Hat" } }, {name: "GOAT/Animal", options: {displayName: "Animal"}} ], }, ...
-
-
Generate Metadata
- Change the parameters to the right ones
const RPC_ENDPOINT = 'https://api.devnet.solana.com'; const IMAGES_FOLDER = './assetsDL/images'; const JSON_FOLDER = './assetsDL/json'; const WALLET_PATH = '{YOUR_WALLETPATH}'; const OUTPUT_FILE = './uploaded_metadata.json'; const UPLOAD_ZONE = 'https://gateway.irys.xyz/'; const MAX_ITEMS = 50; // Limit the number of items processed
-
Run the script
yarn metadata
-
Create Collection
yarn collection
- Copy the
collection_id
and paste it intocreate_corecady.ts
.
- Copy the
-
Create Candymachine
yarn candy
- Copy the
candymachine_id
and paste it intoadd_config_lines.ts
.
- Copy the
-
Add Configuration Lines to Candy Machine
yarn addconfig
-
Mint NFTs
yarn mint
-
Fetch Assets
yarn asset
- Get the
candyGuardId
and paste it in the mintpage
- Get the
-
Update Candy Guards
yarn updt
By following these steps, you will successfully set up and run the Deanslist Core Candymachine.