Skip to content

Salmandabbakuti/python-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Dapp

web3.py based dapp

Steps:

  1. Deploy your contract on your preferred network(update RPC_URL accordingly) and get the contract address.

  2. Create .env file in the root directory with below parameters:

PRIVATE_KEY=
RPC_URL=
CONTRACT_ADDRESS=
  1. Install dependencies and run app:
pip install -r requirements.txt

python app.py # open http://localhost:8000