ATN cross chain swap router at qtum
Make sure docker is avaliable and the qtum image has been pulled
git clone https://github.com/ATNIO/Swap-qtum.git
cd Swap-qtum
npm install
./bin/qtumd
make
Setup a demo with
make demo
then listen atn events by
npm run listenatn
and swap events by
npm run listenswap
Now launch another shell and
./bin/swap <from> <fromHex> <to_chain> <to_address> <amount>