MIT License
Original Video:
👴 How To Create An ENTIRE NFT Collection (10,000+) & MINT In Under 1 Hour Without Coding Knowledge
(WATCH THIS ONE!) Updated video for v2.0.0 release:
🌟 How To Create An ENTIRE NFT Collection (10,000+) & MINT with ZERO Coding Knowledge v2.0
How to automate listing for sale on OpenSea:
💰 How To List & Reveal An ENTIRE NFT Collection (10,000+) Without Coding Knowledge on OpenSea
Original video code: v0.1.0-alpha
Base code is from hashlips_art_engine
Minting uses NFTPort
Join the Discord server for more help from the community: codeSTACKr Discord
The macro script from the "listing for sale" video: macro1.mmmacro
UPDATE: Added rarity calculator. See this video for the walkthrough.
Generate:
$ npm run generate
layers
folder.build
folder if it exists!Rarity (Hashlips):
$ npm run rarity
Rarity (codeSTACKr):
$ npm run rarity_md
Rarity Rank (codeSTACKr):
$ npm run rarity_rank
Update Info:
$ npm run update_info
namePrefix
, description
, and/or baseUri
for metadata after it was already generated.Create Generic Metadata:
$ npm run create_generic
src/config.js
file.Upload Files/Images:
$ npm run upload_files
build/images
folder.Upload Metadata:
$ npm run upload_metadata
.json
files in both the build/json
folder and, if it exists, the build/genericJson
folder as well.Deploy Contract:
$ npm run deploy_contract
src/config.js
file.Get Contract:
$ npm run get_contract
Mint:
$ npm run mint
--start=1
--end=100
Reveal:
$ npm run reveal
--start=1
and/or --end=100
flags will reveal only the specified edition or range of editions.Check Transactions:
$ npm run check_txns --dir=minted
--dir
flag is required. Accepted values are minted
or revealed
.Refresh OpenSea:
$ npm run refresh_os --start=1 --end=100
--start
and --end
flags are required.You have not installed node.js properly (* and or if you're using a M1 on macs you'll need to downgrade your current version of node.js to v14 for it to work*). Be sure to follow the installation instructions from their download page for your specific operating system. And restart your computer after installation.
For Mac M1 users, see this issue for more details: Hashlips Art Engine - Issue 812
Be sure that every layer is the same size. If you want the resulting image to be 512x512, then each layer needs to be 512x512. This will ensure that everything lines up properly.
This is because you are not using .png
images. .jpg
or any other type will not work. .png
has transparency which means there is no background and things behind it will show through.
If you are following along with the tutorial you will run into this issue unfortunately.
When the tutorial was created, node-fetch
was at version 2. It was recently updated to version 3 and no longer supports the require
syntax.
Fortunately, it's an easy fix. Just type these commands into the terminal:
npm uninstall node-fetch
npm install node-fetch@2
Ensure that your layer names in the config.js
file match exactly to your layer folder names. Also, remove any -
(hyphens) from your file names.
There have been some changes made to the code from the original video resulting from some errors when uploading files, metadata, and minting using NFTPort. Depending on your plan, Free vs Community, there are rate limits.
To fix these issues, I've updated the code to include a timeout that will allow the files to be uploaded at a slower rate, instead of all at once, eliminating these errors.
If you've reached your quota limit, contact NFTPort to upgrade your plan to get more.
To use this code:
npm install
layers
folder.src/config.js
file to set up your layers and NFT information.