Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 935 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 935 Bytes

NFT sniper : Find the rariest NFT

Built with Cookiecutter Django

Black code style

Basic Commands

Local Test

  • Start the env

    $ docker-compose -f local.yml up
    
  • DB Migration (only need to run one time)

  • $ docker-compose -f local.yml run --rm django python manage.py makemigrations
    $ docker-compose -f local.yml run --rm django python manage.py migrate
    
  • Fetch NFT and rank!

    • Must provided: uri, number_of_nfts

    • Optional : workers (controlling how many threads)

    • E.g

      $ docker-compose -f local.yml run --rm django python manage.py fetch_nfts --uri https://nft-api.avgle.com/a/ --number_of_nfts=10000