Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 962 Bytes

README.rst

File metadata and controls

40 lines (27 loc) · 962 Bytes

web3.py example app for eth payments in django

In this repository, we take a Django Web Framework project. We create an application with two models (data stored in a database).

class Order(models.Model):
    ...

class Payment(models.Model):
    ...

Use a django built-in admin frontend. And add little bit of web3.py flavour to interface with Ethereum blockchain.

install

python -m venv PY
source PY/bin/activate
pip install -r requirements.txt
./manage.py migrate
./manage.py runserver

more