Skip to content

zevcc-gh/nft-sniper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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