See website for more information.
Monorepository managed by turborepo.
Contains 2 applications - validator and frontend. The validator is responsible for performing the functions of the bridge. Frontend is a ReactJS client.
Request the .env file and place it in the root of the monorepo
Install all dependencies
npm install
Build repository
npm run build_repo
Build validators
npm run build_validator
To run the validator, run the command
npm run run_validator
This will launch a docker container with the application and all its environment
To see the status, you can use the docker utilities, or look in the database interface at http://host:8888/db/AppLog/AppStatus
E2E test:
npm run build_validator npm run local_node (wait private keys) npm run run_validator_dev (wait ready status in http://host:8888/db/AppLog/AppStatus) npm run test_e2e
For development tools, you can raise a daemon that will update the ui when the code changes. To do this, you need to run the command
npm run frontend_dev
To build the application, use the command
npm run build_frontend
This will create a frontend build at /apps/frontend/build