Skip to content

GemWallet/web3-auth-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GemWallet - XRPL Web3 Authentication

Introduction

⚠️ Don't forget to install GemWallet

This repository is used in the following tutorial: Create a web3 authentication on the XRPL with GemWallet.

This repository is showcasing how to create a web3 login (authentication) on the XRPL (XRP Ledger) thanks to GemWallet.

How does the web3 authentication works?

Here is an high level flow diagram on how the flow within this repository is developed:

graph TD
    A(Click on login button) --> B{Public key shared by user with GemWallet}
    B --> |No| A
    B --> |Yes| C[Welcome the user]
    C --> D(Click on restricted button)
    D --> E[Fetch nonce made for the user public key]
    E --> F{Sign the nonce with GemWallet}
    F --> |No| C
    F --> |Yes| G{Verify the signature in backend}
    G --> |No| C
    G --> |Yes| H[Authenticated with JWT token]
Loading

Available Scripts

In the project directory, you can run:

npm start

Runs the app production mode.

npm dev

Run the hot-reload nodemon server to enhance the developer experience while coding within this repository.

About

Web3 Auth Starter template with GemWallet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published