Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
/ ssx-notepad Public archive
forked from spruceid/siwe-notepad

Notepad example usage app of SSX

Notifications You must be signed in to change notification settings

spruceid/ssx-notepad

 
 

Repository files navigation

Sign-In with Ethereum Notepad Example

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

Sign-In with Ethereum Notepad

Quickstart

From this directory,

npm install
npm run 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.

About

Notepad example usage app of SSX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.3%
  • HTML 22.8%
  • JavaScript 11.0%
  • CSS 5.7%
  • Shell 0.2%