Skip to content

Simple python backend to validate signed message on front end

License

Notifications You must be signed in to change notification settings

Dry-Wi/pychecksign-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pychecksign

Simple python backend to validate signed message on front end

Installation

To install run poetry install in the project folder

In order for the virtual env to be created in the project folder run poetry config virtualenvs.in-project = true

Description

This api (using fastapi) verify that a message signed with a wallet is indeed signed by the address sent. This mechanism can be used to register users as an alternative to the web2 approach (email / password).

  1. The server generates a nonce and sent it to the client to sign it 2 The client sign the message and send it back to the server with the public address
  2. The server validate that the signature is indeed produced by the correct address signing the nonce sent

About

Simple python backend to validate signed message on front end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages