General Force Bridge components.
This project is still in active development.
A general new designed Force Bridge.
docker
: https://docs.docker.com/get-docker/
docker-compose
: https://docs.docker.com/compose/install/
Node.js
: https://nodejs.org/en/
rust
(optional): https://www.rust-lang.org/learn/get-started
# install capsule with cargo
cargo install capsule --git https://github.com/nervosnetwork/capsule.git --tag v0.2.3
# or download the binary and put it in you PATH
# https://github.com/nervosnetwork/capsule/releases/v0.2.3
# Setup bridge, and run the integration test with docker
make local-ci
cd offchain-modules
yarn install
cp config.json.example config.json
# edit the config file on your demands
yarn start
npm i -g @force-bridge/cli