Skip to content

Go server that authenticates via EIP712

Notifications You must be signed in to change notification settings

xenowits/eip712-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EIP712 Auth

EIP-712: Ethereum typed structured data hashing and signing. Link: EIP712

What are the project's objectives?

  • To implement a go server that authenticates a user via Metamask

Programming Languages

Golang

Domain

  • Blockchain development
  • Cryptography

How to test?

  • Clone the repo & cd into it
  • Hit go run main.go. Your server starts running at localhost:8080
  • Navigate to http://localhost:8080/static/index.html
  • If metamask in not loaded, it will prompt the metamask extension as soon as the page loads
  • Click on getNonce. This populates the nonce sent by the server
  • Click on sign. This will prompt metamask popup to sign.
  • Click on verifySignature. This will prompt an alert depending on the API response.

About

Go server that authenticates via EIP712

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 62.1%
  • JavaScript 19.4%
  • HTML 18.5%