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

Latest commit

 

History

History
26 lines (18 loc) · 974 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 974 Bytes

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