Skip to content

A nft tracker hub, connect with multiple Web 3.0 API provider

License

Notifications You must be signed in to change notification settings

tuchi-xyz/nft-tracker

Repository files navigation

nft-tracker

A nft tracker hub, connect with multiple Web 3.0 API provider

Init environment

pipenv install --dev

Create .env from example and fill out the missing value. You need to get your own key and have a local postgres database (try docker)

cp .env.example .env

Test it out

pipenv run test

Migrate the database

pipenv run alembic upgrade head

Fetch top Collections (first 20 page of etherscan, sorting by transfer 24H)

pipenv run fetch_collections

Fetch Collections Stats (collections from above)

pipenv run fetch_stats

Fetch Tokens of Collections (collections from above)

pipenv run fetch_tokens

Run API

pipenv run api