This repository aims to demonstrate how to verify that the Vigilante NFTs are randomly distributed while using a commit-reveal scheme. An initial verification approach was described by the team in the article How to verify that HonestNFT Vigilantes are randomly distributed.
This is a more automated approach with annotations for every step.
Make sure you have installed all of the following prerequisites on your device:
- git
- python3
- Download the repo + submodules:
git clone --recurse-submodules git@github.com:Convex-Labs/vigilante-verifier.git
- Change directory to the downloaded repo:
cd vigilante-verifier
- Rename
.env-example
to.env
- Add your personal web3 providers to
.env
(Alchemy, Infura, ...) - Symlink your .env file into the submodule:
cd honestnft-shenanigans && ln -s ../.env .env && cd ..
- Install the dependencies with
python3 -m pip install -r requirements.txt
Either run the notebook and follow the inline instructions or read the article for a comprehensive walk-through: Vigilante NFT Metadata Verifier