Generalized TCR Notifications
Service and database for handling Generalized TCR contract events.
- Volta.sh - Recommended
- NodeJS version 14
- Clone this repo.
- Duplicate
.env.example
, rename it to.env
and fill in the environment variables. - Run
yarn
to install dependencies and thenyarn start
to run the service in development mode.
- Create a
.env
file with the name of the network you wish to use. Example.env.xdai
. - Look into
package.json
for the appropriate script (e.g. start:xdai). Create one if it does not yet exist. - Use PM2 like so:
pm2 start yarn --interpreter bash --name gn-<network> -- start:<network>
, replacingnetwork
with the network name.
Example for xDai:
pm2 start yarn --interpreter bash --name gn-xdai -- start:xdai
yarn format
- Lint, fix and prettify all the project. .js files with styled components and .js files.yarn run cz
- Run commitizen.