Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

An annotated code walk-through

Notifications You must be signed in to change notification settings

Barabazs/vigilante-verifier

Repository files navigation

Vigilante Metadata Verifier

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.

Prerequisites

Make sure you have installed all of the following prerequisites on your device:

  1. git
  2. python3

Installation

  1. Download the repo + submodules: git clone --recurse-submodules git@github.com:Barabazs/vigilante-verifier.git
  2. Change directory to the downloaded repo: cd vigilante-verifier
  3. Rename .env-example to .env
  4. Add your personal web3 providers to .env (Alchemy, Infura, ...)
  5. Symlink your .env file into the submodule:cd honestnft-shenanigans && ln -s ../.env .env && cd ..
  6. Install everything python3 -m pip install -r requirements.txt

Usage

Either run the notebook and follow the inline instructions or read the article for more in depth explanation:

License

MIT