https://github.com/nevinhajs/nevinha-nft-generator
This is a NFT generator which generates images with metadata that follows opensea specifications
https://github.com/nevinhajs/nevinha-nft-generator
Last synced: 19 days ago
JSON representation
This is a NFT generator which generates images with metadata that follows opensea specifications
- Host: GitHub
- URL: https://github.com/nevinhajs/nevinha-nft-generator
- Owner: NevinhaJS
- Created: 2021-12-10T00:23:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-28T10:43:42.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T10:33:50.712Z (about 2 months ago)
- Language: JavaScript
- Size: 414 KB
- Stars: 9
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nevinha-NFT Generator
This is a NFT generator which takes a set of layers and combines in a single NFT image **with metadata files that follows [opensea](https://opensea.io/) specifications**.
## How to use it
#### Add your images on images folder
Inside images folder, you will find some images as demonstration. You can remove these images and add yours. Please notice the images has `_r` and `_sr`, these abbreviations are used to specify the rarity level of the image.
#### Run the script
Just run `node generator` and you will find your generated images inside `collection/images` and the metadata files inside `collection/metadata`. Don't worry about the **{{IPFS_URL}}** which you will find in your JSON files. You can replace then by running our utility script.
> Please do not run node generator before replacing the IPFS metadata urls. You need to update first your images to ipfs or any other ipfs gatway in order to get your ipfs hash. An easy gateway to quick upload your images is [Pinata](https://www.pinata.cloud/)
#### Replace the metadata IPFS urls
Notice the JSON files will have {{IPFS_URL}}. Please go to `config/base.js` and paste your [ipfs](https://ipfs.io/) hash on the `YOUR_IPFS_HASH` value.
You can just replace them by running `node ./utils/index url-updater`.
After that you are done! Congratulations, you have your NFTs with metadata that follows [opensea](https://opensea.io/) specifications