masonicGIT / react-demo

React integration for onboard.js and notify.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Demo

A repository to demonstrate a basic integration of the following wallets:

Getting started

Note: Before starting ensure you've downloaded Metamask, PolkadotJS extenstion and Phantom Wallet

Clone the repo:

git clone https://github.com/masonicgit/react-demo.git

Navigate to the project directory:

cd react-demo

Install the dependencies:

yarn

Start the development server:

yarn start

The project will be running on localhost:3000

SSL

Some wallets require that the website within which it runs be using a https connection. If you are testing one of these wallets, Ledger is one, then you have two options:

  1. Setup a valid certificate for localhost using this guide.
  2. Allow invalid certificates for resources loaded from localhost by navigating here within a chrome based browser: chrome://flags/#allow-insecure-localhost

About

React integration for onboard.js and notify.js


Languages

Language:JavaScript 92.8%Language:CSS 5.5%Language:HTML 1.8%