- Python 3.8 or higher (lower versions might work but they're untested)
- Node JS 12.22.1 or higher (lower versions might work but they're untested)
- Run these commands to clone the repository and enter the home directory:
git clone https://github.com/realjohnward/rgbeads.git && cd rgbeads
- Run this script to install the required packages:
pip install -r requirements.txt
- Compile contract in remix and save the bytecode and ABI locally.
- Set environment variables
- Deploy contract by running the following script:
python deploy.py
- Read transaction receipt to get the contract address and set it to the CONTRACT_ADDRESS environment variable.
- Generate 10K images and blobs for the beads by running the following script:
python generate.py
- Run this script:
python pin.py
- Run this script:
python mint.py
- View NFTs by opening this url in your browser: https://testnets.opensea.io/collection/{INSERT CONTRACT ADDRESS HERE}