A simple ReactJS app with react-router-dom used to build https://bet.daggle.xyz.
high.1.mp4
high.1.mp4
- Clone Repo.
$ git clone https://github.com/dagglexyz/client client $ cd client
-
Add the .env file in the root directory. Replace the value accordingly.
REACT_APP_SERVER_URL=http://localhost:3000 REACT_APP_QUICK_NODE= < quick-node-key > REACT_APP_CHAIN=FVM_MAINNET
-
Run the client!
$ npm run start
Note: It may prompt to run on a different port, hit enter.