- Clone this repo. Go into the root folder and run
yarnto install the dependencies. - Create a .env file in the root folder and set these variables:
REACT_APP_CLIENT_ID=0f0beecf7fd73353297c REACT_APP_CLIENT_SECRET=baa991a2935f04bbe80f4f59687457ee1be1d2cb REACT_APP_REDIRECT_URI=http://localhost:3000 REACT_APP_PROXY_URL=http://localhost:5000/authenticate REACT_APP_SCAN_URL=http://localhost:5000/scan REACT_APP_BLOCKCHAIN_URL=http://localhost:5000/blockchain SERVER_PORT=5000 MONGO_ATLAS_URI=mongodb+srv://root:root@cluster0.dbfx0.mongodb.net/test - Run
yarn startto start the app
mongodb+srv://root:root@cluster0.dbfx0.mongodb.net/test?authSource=admin&replicaSet=atlas-km05hx-shard-0&readPreference=primary&appname=MongoDB%20Compass&ssl=true
- Connect Metamask to RSK testnet
Network Name: RSK Testnet
New RPC URL: https://public-node.testnet.rsk.co
ChainID (optional): 31
Symbol (optional): tR-BTC
- TestNet Faucet You can get some Testnet R-BTC in the faucet into your metamask address.