In this video I will show you how to generate NFT images and its JSON metadata files for a Solana NFT art collection using Metaplex candy machine cli package.
This uses Candy Machine V1, which is outdated.
Follow me
Tweets by TechGuyStation
Check out the Solana NFT Project. The Hellish Party
Website: https://www.hellishparty.com/
Twitter: https://twitter.com/HellishParty
Links to download code:
Metaplex github repo
https://github.com/metaplex-foundation/metaplex/
Metaplex token metadata standard
https://docs.metaplex.com/nft-standard
Pre-requisites:
install Node JS
install YARN package manager
Utility key shortcuts for Mac VS-Code, (check online for Windows shortcuts)
format JSON file
shift + option + f
save file
command + s
Commands used:
create a new directory to place all the code
mkdir art-test
go into the tes-art directory
cd art-test
download metaplex code using git
git clone https://github.com/metaplex-foundation/metaplex.git
go into the cli directory
cd metaplex/js/packages/cli
list files
ls -l
install dependencies using Yarn
yarn install
to remove .DS_Store hidden files in mac
find ./traits -name .DS_Store -exec rm {} \;
to see the commands available in the metaplex cli (for Mac M1 compauters type npx first)
ts-node ~/art-test/metaplex/js/packages/cli/src/candy-machine-cli.ts -h
on Mac M1 all add npx first
npx ts-node ~/art-test/metaplex/js/packages/cli/src/candy-machine-cli.ts -h
to create json config file
ts-node ~/art-test/metaplex/js/packages/cli/src/candy-machine-cli.ts generate_art_configurations ./traits
to generate NFT art and metadata
ts-node ~/art-test/metaplex/js/packages/cli/src/candy-machine-cli.ts create_generative_art -n 10
Note WINDOWS users:
the path “~/” won’t work, you have to give it your full path. You can see the path to the current directory by typing “cd”, and you can continue building the path from there.
try this:
npx ts-node C:\Users\your_username_here\solana-mint\metaplex\js\packages\cli\src\candy-machine-cli.ts add-command-and-options-here
This tutorial is for the Solana Crypto Blockchain, become part of the crypto art revolution.
Solana tips and NFTs welcome
My Solana Address: 43VNin4fT1m8RG2m5Fo7PragQcqCtzbq5eUcoE9YBrHg
Similar Posts:
- Uploading a Solana NFT collection with Candy Machine V2 tutorial EASY
- How To Set Up Solana NFT Collection Candy Machine V2 And Mint Site
- Deploy for mint 10,000 NFTs on Solana with Metaplex and Candy Machine – Chapter 2
- Как создать NFT коллекцию на Solana. УРОК #2
- How to Create an NFT Minting Website for Free