Skip to content

Template for Web3.py scripts running on a Django backend

License

Notifications You must be signed in to change notification settings

notjordan/web3-django-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web3-Django-Scripts

Template for Web3.py scripts running on a Django backend

Development instructions

Using Python 3.7.9

  1. install requirements:
python -m pip install -r requirements.txt
  1. add 'local_settings.py' inside project/ with the following keys:
INFURA_API_KEY      = "YOUR_KEY_HERE"
ETHERSCAN_API_KEY   = "YOUR_KEY_HERE"
OPENSEA_API_KEY     = "YOUR_KEY_HERE"
OPENSEA_API_KEY2    = "YOUR_KEY_HERE"
ALCHEMY_API_KEY     = "YOUR_KEY_HERE"
ETH_ADDRESS_LIST = [
    "0xADDRESS_HERE",
    "0xADDRESS_HERE",
    "0xADDRESS_HERE",
    ...
]
  1. to run scripts using django configuration:
python scripts\web3_X.py 
  1. to run local django server:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

About

Template for Web3.py scripts running on a Django backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%