Skip to content

Jam516/siwe-quickstart-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

siwe-quickstart-flask

Introduction

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.

Tech Stack

  • Python3 and Flask as server language and server framework
  • HTML, NodeJs for the frontend
  • SIWE and SIWE-py for Ethereum-based authentication

Running Locally

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

Deploy to Heroku

Coming Soon

TODOs

  • logout button
  • display signed in address on frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages