Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

citydaoproject/citizen-nft-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

citizen-nft-snapshot

Simple script to snapshot Citizen NFT holders

Setup

Node

  1. Install nvm (Node Version Manager)

  2. cd to the project directory and execute the following:

    nvm install
    nvm use
    npm install
    

Moralis API

  1. Create Moralis account (Moralis)

  2. Create new server (Create Server)

  3. Copy server URL and Application ID to .env

    SERVER_URL="xxx"
    APP_ID="xxx"
    

Create Snapshot

npm run snapshot

Outputs snapshot.json & total_mints.json in root directory

Prettier

This project uses Prettier, so please run it before checking in:

npm run pretty

See .prettierrc for settings.

Some IDEs and editors have plugins for running Prettier.

Linting

This project uses ESLint. Check linting before checking in:

npm run lint

About

Simple script to snapshot Citizen NFT holders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published