force-bridge icon indicating copy to clipboard operation
force-bridge copied to clipboard

General Force Bridge components.

Force Bridge

integration-ci workflow codecov

This project is still in active development.

A general new designed Force Bridge.

  • It can connect to all chains which support multiple signature account and Non-fungible token transfer. We plan to support EOS, TRON, BTC, Cardano and Polkadot in the first stage.
  • You have to trust the committee who runs the bridge.

Quick Start

Install Development Tools

  • 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

Run bridge via CI

# Setup bridge, and run the integration test with docker
make local-ci

Run the bridge cli manually

cd offchain-modules
yarn install
cp config.json.example config.json
# edit the config file on your demands
yarn start

Install force-bridge cli

npm i -g @force-bridge/cli