Skip to content

Poseidon-DAO/backend-service

Repository files navigation

Scrips

The project contains two scripts for aidrops:

  • For users that minted during the drop
  • For users that have been holding before the next drop

and one script for mints

  • Fetching the Guardians and syncing the users on database

Running Scripts

Fetching all users that minted during the drop

Run

  yarn run mints-airdrop

or npm

  npm run mints-airdrop

Fetching users that have been holding at a specific point of time

Run

  yarn run holds-airdrop [date] [snapshotNumber]

or

  npm run holds-airdrop [date] [snapshotNumber]

e.g.

  yarn run holds-airdrop "2022-11-28 21:00:23+01" 2

snapshotNumber should be 2 or greater, 1 is automatically given to mints script

Fetching the Guardians

Run

  yarn run guardians

or

  npm run guardians

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published