Soil Protocol
  • 🌱Introduction
    • Getting Started
  • Be your own Launchpad
    • 🐇Introduction
    • 1️Preparing Your Asset
    • 2️Creating Candy Machine
    • 3️Configure Candy Machine
    • 4️Update Whitelist
    • 5️Integrate With Minting Website
  • NFT Tooling
    • 🐇Introduction
    • ✍️NFT Holder Snapshot
    • 🪂Airdrop New NFT
    • 🏅NFT Information and Rarity
  • Appendix
    • 🔮Contact Us
Powered by GitBook
On this page
  • Snapshot Your Collection
  • Snapshot On Chain Collection
  1. NFT Tooling

NFT Holder Snapshot

You can snapshot NFT Holder for your own collection or any other collection (by contract address) via Airdrop CLI. We also support NFT listed on marketplace like Knowhere and Talis. Make sure that you are in the js/cli directory before you proceed with this step.

Snapshot Your Collection

You will need your data folder and MasterCSV file for this operation.

npx ts-node src/airdrop-cli.ts snapshot -d data -n testnet -c data/master.csv -f csv    f
Param
Required
Example
Description

-d, --data <string>

true

data

Data folder that store created NFT contract information

-n, --network <string>

true

testnet

Terra network. (localterra, testnet and mainnet)

-c, --config <string>

true

data/master.csv

MasterCSV file

-f, --format <string>

true

csv

Holder file format. (csv, json)

-h, --height <number>

false

100000

Block height that you want to snapshot. (Can use only mainnet)

-ori, --original <boolean>

false

true

Find real owner if that NFT is listed on marketplace. This param only supported in mainnet. The marketplace that we support are Knowhere and Talis.

████████████████████████████████████████ 100% | ETA: 0s | 10/10 
holder output file: data/holder_terra14khjxsvmklm8kg97vhrn5wc2tz3w57na5seeke3qnwashe4pxd3qmljkek_2022-09-08T03:41:22.695Z.csv

You will be greeted with this after its snapshot holder successfully.

Snapshot On Chain Collection

This command can snapshot any on chain collection with contract address. For example, this command will take snapshot holder of Galactic Punk collection.

npx ts-node src/airdrop-cli.ts snapshot-onchain -d data -n mainnet -f csv -c terra16ds898j530kn4nnlc7xlj6hcxzqpcxxk4mj8gkcl3vswksu6s3zszs8kp2 -ori true
Param
Required
Example
Description

-d, --data <string>

true

data

Data folder that store created NFT contract information

-c, --contract <string>

true

terra16ds898j530kn4nnlc7xlj6hcxzqpcxxk4mj8gkcl3vswksu6s3zszs8kp2

Contract address

-n, --network <string>

true

mainnet

Terra network. (localterra, testnet and mainnet)

-f, --format <string>

true

csv

Holder file format. (csv, json)

-h, --height <number>

false

1000000

Block height that you want to snapshot. (Can use only mainnet)

-ori, --original <boolean>

false

true

Find real owner if that NFT is listed on marketplace. This param only supported in mainnet. The marketplace that we support are Knowhere and Talis.

find total token id... 
████████████████████████████████████████ 100% | ETA: 0s | 3953/3953 
finding owner of nft... 
████████████████████████████████████████ 100% | ETA: 0s | 3953/3953 
holder output file: data/holder_terra16ds898j530kn4nnlc7xlj6hcxzqpcxxk4mj8gkcl3vswksu6s3zszs8kp2_2022-09-08T04:14:42.794Z.csv

You will be greeted with this after its snapshot holder successfully.

PreviousIntroductionNextAirdrop New NFT

Last updated 2 years ago

✍️