This project is intended to work aside with GoodServer project
Important: Use node version 10.15.0
npm install
$ npm run web
Default environment variables are set up in .env.dev
you can overload this variables by setting up .env
which should include all required variables
Using kovan
REACT_APP_NETWORK_ID=121
REACT_APP_SERVER_URL=http://localhost:8888
Using a different server url. Please note that both server and dapp must use the same blockchain network and the same @goodcontracts version
We are using snapshot testing
# Web
$ npm run test:web
# Update Snapshots
$ npm run test:web -- -u
# Web watch mode
$ npm run test:web-watch
# Coverage - web
$ npm run coverage
This repository was initiated with create-react-native-web-app, please check the original readme file for more information.