https://github.com/downthecrop/cryptobones
Bootstrap Python Code for generating a ThirdWeb NTF Drop
https://github.com/downthecrop/cryptobones
crypto nft opensea polygon polygon-network thirdweb thirdweb-deploy
Last synced: 3 months ago
JSON representation
Bootstrap Python Code for generating a ThirdWeb NTF Drop
- Host: GitHub
- URL: https://github.com/downthecrop/cryptobones
- Owner: downthecrop
- License: mit
- Created: 2023-05-10T11:58:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-10T13:50:24.000Z (about 2 years ago)
- Last Synced: 2025-01-23T11:48:00.791Z (4 months ago)
- Topics: crypto, nft, opensea, polygon, polygon-network, thirdweb, thirdweb-deploy
- Language: Python
- Homepage: https://opensea.io/collection/dtc-cryptobones
- Size: 206 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NFT Art Generator

This project provides a Python script to generate unique NFT (Non-fungible token) art by combining different layers of images. It's especially useful for creating generative art for NFT projects where each piece has a unique combination of traits.
## Features
- Combines different layers of images into unique variants.
- Creates a metadata file for each variant containing information about the traits used.
- Shuffles the combinations to randomize the order of the generated NFTs.
- Stores all metadata in a single JSON file.## Prerequisites
- Python 3.7 or later.
- The Python Imaging Library (PIL). You can install it with pip:```
pip install pillow
```
Clone this repository.- Place your layer images in separate folders within a main folder. The script currently expects two types of layers: front layers and back layers.
- Update the nft_collection_name, front_categories, and back_categories variables in the Python script to match your folder structure.
Run the Python script:
```
python nft_art_generator.py
```The script will generate the unique variants and store them in the specified output folder, along with the metadata JSON file.
Please note that this script is intended to be a starting point and may need to be customized to suit your particular needs.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.## License
This project is open source and available under the MIT License.