This is a sample React app that uses Reach to generate, deploy, and interact with a smart contract on Algorand.
Inspired by https://github.com/reach-sh/reach-sample-react-app.
Prerequisites:
- Install the MyAlgoConnect wallet extension on both Chrome and Firefox.
- Switch to testnet.
- Get some ALGO at a faucet for both accounts.
To see the demo in action:
npm install
npm run start
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