https://github.com/blocknative/coinbase-react-demo
https://github.com/blocknative/coinbase-react-demo
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blocknative/coinbase-react-demo
- Owner: blocknative
- Created: 2022-02-14T18:28:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-17T15:57:06.000Z (about 4 years ago)
- Last Synced: 2025-03-26T14:06:13.728Z (about 1 year ago)
- Language: JavaScript
- Size: 5.46 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Demo
A repository to demonstrate a basic integration of
[Web3-Onboard](https://github.com/blocknative/web3-onboard)
and [Notify](https://github.com/blocknative/notify) into a React project.
For detailed documentation, head to [docs.blocknative.com](https://docs.blocknative.com)
View live demo [here](https://reactdemo.blocknative.com/)!
## Getting started
Clone the repo:
```bash
git clone https://github.com/blocknative/coinbase-react-demo.git
```
Navigate to the project directory:
```bash
cd coinbase-react-demo
```
Install the dependencies:
```bash
yarn
```
Start the development server:
```bash
yarn start
```
The project will be running on [localhost:3000](http://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](https://www.freecodecamp.org/news/how-to-set-up-https-locally-with-create-react-app/).
2. Allow invalid certificates for resources loaded from localhost by navigating here within a chrome based browser: [chrome://flags/#allow-insecure-localhost](chrome://flags/#allow-insecure-localhost)