A simple app that allows a user to connect their Metamask wallet, sign in and see some information about themselves.
Based on the siwe-quickstart demo by Spruce, changing the backend from NodeJs to Flask. Lots of help from the django-siwe-auth demo written by Payton.
- Python3 and Flask as server language and server framework
- HTML, NodeJs for the frontend
- SIWE and SIWE-py for Ethereum-based authentication
In Anaconda, install siwe-py using pip:
pip install siwe
Run the Flask server
set FLASK_APP=app.py
flask run
In a separate terminal navigate into the frontend folder
cd frontend
Install all the necessary packages
npm install
Launch the frontend
npm run dev
Coming Soon
- logout button
- display signed in address on frontend