GithubHelp home page GithubHelp logo

thebkr7 / metamask-auth-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bones7242/metamask-auth-react

0.0 1.0 0.0 440 KB

a basic react website that uses metamask to authorize users via a message signed client-side and sent to the server

JavaScript 97.49% HTML 2.51%

metamask-auth-react's Introduction

metamask-auth (react)

a basic react website that uses metamask to authorize users via a signed message signed client-side and sent to the server

What is this repository for?

  • Quick summary: the purpose of this repo is to create a generic react.js application that uses metamask for authentication.
  • Version: 0.0.1

How do I get set up?

  • clone this repository
  • run npm install
  • start testrpc (check here for information on testrpc).
  • in one terminal run npm start (to use strict mode) or nodemon server.js (to run without strict mode).
  • in another run npm run bundle
  • visit localhost 3000
  • log in to metamask

How do I use the app?

  • run metamask
  • use the app to log in with metamask (it will ask to you to sign a message, and store the signed message in your cookies)
  • use the buttons on the home page to test whether you have logged in correctly (it will send the signed message to the server for decoding and authorization)

metamask-auth-react's People

Contributors

bones7242 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.