Skip to content

Commit a98bb62

Browse files
committed
update readme
1 parent 77d3cd4 commit a98bb62

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

README.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,57 @@
11
# Source Code from "How To Create An ENTIRE NFT Collection (10,000+) & MINT In Under 1 Hour Without Coding Knowledge"
22

3+
## Multiple Active Branches
4+
5+
- [main](https://github.com/codeSTACKr/video-source-code-create-nft-collection/tree/main) = Source code from the video
6+
- [fix-uploads-mints](https://github.com/codeSTACKr/video-source-code-create-nft-collection/tree/fix-uploads-mints) = Updated to fix issues uploading files, metadata, and minting explained [below](#quota-limit-reached-or-too-many-requests-errors).
7+
38
[Video Link](https://youtu.be/AaCgydeMu64)
49

510
Base code is from [hashlips_art_engine](https://github.com/HashLips/hashlips_art_engine)
611

712
Minting uses [NFTPort](https://nftport.xyz)
813

9-
See video for instructions.
14+
## UPDATES & FIXES
15+
16+
### npm not recognized
17+
18+
You have not installed [node.js](https://nodejs.org) properly. Be sure to follow the installation instructions from their download page for your specific operating system.
19+
20+
### Images not lining up
21+
22+
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.
23+
24+
### Only the last image shows up
25+
26+
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.
27+
28+
### ES Module Error \[ERR_REQUIRE_ESM\]
29+
30+
If you are following along with the tutorial you will run into this issue unfortunately.
31+
32+
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.
33+
34+
Fortunately, it's an easy fix. Just type these commands into the terminal:
35+
36+
- `npm uninstall node-fetch`
37+
- `npm install node-fetch@2`
38+
39+
### Any sort of "path" error
40+
41+
Ensure that your layer names in the `config.js` file match exactly to your layer folder names.
42+
43+
### "Quota Limit Reached" or "Too many requests" errors
44+
45+
There have been some changes made to the code in the [fix-uploads-mints](https://github.com/codeSTACKr/video-source-code-create-nft-collection/tree/fix-uploads-mints) branch resulting from some errors when uploading files, metadata, and minting using NFTPort. Depending on your plan, Free vs Community, there are rate limits.
46+
47+
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.
48+
49+
**To use this code:**
50+
51+
- Clone this repo or download the zip file.
52+
- Unzip, if needed, and open the folder in VS Code.
53+
- From the terminal type:
54+
- `npm install`
55+
- Ensure you are on the `fix-uploads-mints` branch.
56+
- Copy your image layers into the `layers` folder.
57+
- Use the `src/config.js` file to set up your layers and NFT information.

0 commit comments

Comments
 (0)