This repository contains a collection of utlities that help mint a large NFT collection on Chia that would be cumbersome to do individually.
At the moment, it only generates the metadata, hashes, and RPC files that you need to mint NFTs, and has a utility that mints them one by one. Right now, it takes 40 seconds to mint an NFT using minter.py, but this should be possible to speed up dramatically soon.
You still need to:
- Upload your NFTs to Ardrive (This will probably work with IPFS or custom domains, but I haven't made sure yet, so not supported at present)
- Upload your metadata to Ardrive
- Generate manifests for your images and metadata on ardrive
I recommend you read through these two guides before running this tool, to get familiarity with what is going on here:
Note: Right now, all your images have to be jpg files and end with ".jpg". I will update this tool to respect the actual file extensions of the nft images, but for now please take note of this.
Note: Currently, the only way to specify which "number" an NFT is as part of a collection is just by naming it or giving it an attribute. e.g., NFTname #1, NFTname #2, ... Note: Collections "exist" only as aggregates of individual NFTS that report the same collection UUID
- Upload all your NFTs to ardrive, generate a manifest url in the drive you uploaded them to, and add that to CONFIG.py
- Put all your NFT images in the directory nfts/
- Put the contents of your license in license.txt
- Generate an NFT wallet and get the wallet # from the CLI, add to CONFIG.py
- Genrate a UUID for the collection (follow guide at https://github.com/scrutinously/chia-scripts/wiki/Chia-NFTs#generate-a-uuid) and add to CONFIG.py
- Edit metadata_template.json for your project, adding values for all fields
- Run generate.py
- Upload all the metadata json files to ardrive, and generate a manifest, and add that manifest to CONFIG.py
- Re-run CONFIG.py (now that you have the manifest for the metadata)
- Review some of the RPC JSON files that were created, and make sure that they look good. Check to see that the URIs work and that the hashes are correct
- Run the minter.py with a couple RPC's in the rpc folder to make sure it is working properly
- Run the minter.py with all the RPCs in the RPC folder.
- Implement Ardrive API to handle uploading Images, metadata, and generating manifests.
- Handle file extensions properly (don't just assume ".jpg")
- Speed up NFT minting
Please feel free to reach out to me on Keybase @magnoolia, or by email: imagenaria@proton.me or twitter: @imagenariaNFT