Skip to content

Compute holders snapshot for an NFT collection on Archway Network

Notifications You must be signed in to change notification settings

phi-labs-ltd/nft-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Snapshot Utility

Code in this repository enables you to take a snapshot of token holders for NFTs on Archway Network. In addition to holder addresses, the snapshot utility will also keep track of token ids for any burned tokens.

Usage

Clone the repository and configure a snapshot:

git clone git@github.com:phi-labs-ltd/nft-snapshot.git
cd nft-snapshot
npm install
cp env.example .env
# Now modify .env with your values for `OUTPATH`, `COLLECTION_NAME`, `TOKEN_CONTRACT` and `RPC_NETWORK`

What's in the environment (.env) file:

OUTPATH = "" # Root output folder where snapshots are all stored
COLLECTION_NAME = "" # Folder name for the current snapshot (it will be stored inside the root output folder)
TOKEN_CONTRACT = "" # Cw721 contract address of the collection
RPC_NETWORK = "" # RPC network end point used for querying the collection

Take a snapshot:

npm start

About

Compute holders snapshot for an NFT collection on Archway Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published