Giter Club home page Giter Club logo

siwe-notepad's Introduction

Sign-In with Ethereum Notepad Example

Example usage of the Sign-In with Ethereum (SIWE) library.

Sign-In with Ethereum Notepad

Quickstart

If you would like to use WalletConnect with this example, you must first obtain a Project ID and update projectId in src/providers.ts.

From this directory, run the following in your terminal:

yarn
yarn dev

Try the example

Open your browser at http://localhost:4361 and have fun!

Select one of the providers available (Metamask, WalletConnect) to begin a SIWE-based session. Write anything you want and hit the "Save" button (you can also use Cmd+s/Ctrl+s to save). You can refresh the page or close your tab - just don't delete your session cookie and your text will continue to be there until you decide to delete the folder /db, where sessions are stored.

Note on port selection

At the top of the src/index.ts file there is a variable that is the default port used. If you want to use the provided Infura ID, select one of the following ports: 3000,3010,4000,4010,4361,9080. Otherwise you'll be unable to connect to Infura.

siwe-notepad's People

Contributors

w4ll3 avatar boidushya avatar

Stargazers

 avatar Vedarius A. Russell avatar  avatar Ladif avatar Yukai Huang avatar gitteroy avatar Crystal_Alchemist avatar  avatar Jiro Matsumoto avatar Hiroto N. avatar  avatar Roman Hossain Shaon avatar Pham Thao avatar Atman An avatar Mike P. Sinn avatar Stardust Song avatar Jake Sung avatar Charlike Mike Reagent avatar  avatar Web3 Foundation Nepal avatar rake avatar AlexVagrant avatar Joe McCain III avatar odysseas.eth avatar

Watchers

wyc avatar Jakub Szerszen avatar Tiago Nascimento avatar Sølst1c3 avatar Sam Gbafa avatar  avatar Simon Bihel avatar  avatar  avatar Gregory Rocco 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.