Utility for creating a generative art collection from supplied image layers or words, especially made for making NFT collectibles. Then the generated images and metadata files are uploaded to IPFS storage, and you can mint them to any Blockchain which supports ERC-1155 standards.
- Download and install Node.js and npm
- Register a free account on NFTPort.xyz
- Download the metamask chrome extension and create/import a wallet
-
Clone the repo
git clone https://github.com/faragoBence/nft-generator.git
-
Inside the repo directory install NPM packages
npm install
-
Insert your image layers to the ./image/input folder. Specify the directory name based on the desired NFT attribute names. (Like in the given example)
-
Replace the collectionImage.jpg in the ./image/input folder
-
In the ./baseconfig.js specify the attributes of your NFT collection. (It must be obvious, based on the comments in the file)
-
Then replace the name of the layers with yours in the ./image/imageconfig.js file
-
Repleace the input.json file in the ./text/input directory, containing your desired words;
-
Replace the collectionImage.jpg in the ./text/input folder
-
In the ./baseconfig.js specify the attributes of your NFT collection. (It must be obvious, based on the comments in the file)
-
Then specify the rest of the configurations in the ./text/textconfig.js file.
node imagenftgenerator
node textnftgenerator
3. Go to Remix.org online Solidity IDE website and open NFTContact.sol:
6. Navigate to Opensea.io or any NFT marketplace, and u will see your freshly generated NFT collection.
Distributed under the MIT License. See LICENSE
for more information.