Aviation Bears (AVBEAR) is a NFT collection consisting of 100 unique NFTs uploaded onto OpenSea. This script is capable of generating 3125 unique bears, but due to price restrictions the number of bears available is 100. The NFTs are currently uploaded onto the Rinkeby chain using the Hashlips art engine.
git clone https://github.com/angelina-tsuboi/AVBEAR_NFT_Generation.git
Go to the root of your folder and run this command if you have yarn installed.
yarn install
Alternatively you can run this command if you have node installed.
npm install
To generate AVBEARs, execute the following command sequentially inside the root directory of the project
npm run generate
Generates artwork and json files given layers inside layers folder and rarity of each item
node utils/nftport/uploadFiles.js
Uploads each artwork inside build directory to IPFS, and updates the respective JSON file with the IPFS URL
node utils/nftport/uploadMetadata.js
Iterates through JSON files inside build directory, and updates metadata (ie. NFT custom fields)
node utils/nftport/mint.js
Mints each NFT using NFTPort, and uploads NFT information (ie. TXN) to JSON file in build directory