Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

A simple example of how to use Reach with React.js

Notifications You must be signed in to change notification settings

reach-sh/reach-sample-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reach-sample-react-app

This is a sample React app that uses Reach to generate, deploy, and interact with a smart contract on Ethereum.

Prerequisites:

  • Install and run the Ganache app on localhost:8545
    • configure it so the first user has a lot of ETH
  • Install the MetaMask extension on both Chrome and Firefox.
  • Install nvm and use it to install & use node 12.18.3 or higher

To see the demo in action:

npm install   # this may take 5-15 mins to install
npm run start # this may take a minute to compile

Open http://localhost:3000 in both Firefox and Chrome; run the app as Alice on one, and Bob on the other.

If you modify src/index.rsh, you must run the compile-rsh script so that React will pick up the changes:

npm run compile-rsh

About

A simple example of how to use Reach with React.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published