Logo for AMTdev Network
  • App Development
    Blazor dotNET Maui Electron Firebase Flutter React Native Xamarin
  • Development Tools
    Android Studio Chef GIT Midjourney OpenAI Rider Visual Studio Visual Studio Code
  • Programming
    Blockchain Cryptocurrency Design Patterns Introductions Job Trends NFT Principles Tips and Tricks
  • Web Development
    Angular API C# CSS dotNET Guides Html5 Javascript Javascript Frameworks Laravel MERN Nest JS Next JS Python React JS Security Tailwind CSS WooCommerce Wordpress

Generate a Solana NFT Art Collection – Images and Metadata Using Metaplex CMv1

Tech Guy Station

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
https://twitter.com/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:Usersyour_username_heresolana-mintmetaplexjspackagesclisrccandy-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

Post navigation

← Vital Tips for Learning A New Codebase Quickly For Faster Productivity
Setting up Solana Pay – Demo →
Video Review Tags
  • candymachine
  • createnft
  • cryptocurrencies
  • ethereum
  • howtomakenft
  • magiceden
  • metaplex
  • nftart
  • nftgame
  • nftgenerator
  • nftmetadata
  • nftmint
  • nftminting
  • opensea
  • solana
  • solanacandymachine
  • solanaminting
  • solanart

© 2023 AMTdev Network