Swapchain is an application for performing ACCS (atomic cross chain swaps) via HTLCs (hash-time-locked contracts).
mainnet | testnet | |
---|---|---|
Bitcoin | ✖️ | ✔️ |
Bitshares | ✖️ | ✔️ |
Mainnet is not tested yet but is expected to work.
git clone https://github.com/chronark/swapchain.git
cd swapchain
npm install
Command-line tool to swap cryptocurrencies with a known counterparty.
npm run build:cli
node build/cli/index.js --help
Or use the npm script:
npm run cli -- --help
Web app to swap cryptocurrencies with a known counterparty.
npm run build:web
npx serve ./build
You can see our docs here.
Please see our contribution guidelines.
This project is MIT licensed.