Skip to content

blocknative/react-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Demo

A repository to demonstrate a basic integration of Web3-Onboard official docs for W3O can be found here. This project uses React App Rewired for building, checkout config-overrides.js for details. For detailed documentation, head to docs.blocknative.com

View live demo here!

Getting started

Clone the repo:

git clone https://github.com/blocknative/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:https://flags/#allow-insecure-localhost