AtomicOTCswap
AtomicOTCswap copied to clipboard
Easy to use Atomic Swap for bitcoin & altcoins
AtomicOTCswap
Atomic Swap tool bitcoin & altcoins without the need of full nodes on-chain
This atomic swap tool is heavily based on Decred's atomic swap tool: https://github.com/decred/atomicswap
Supported assets
- [x] Bitcoin (Bitcoin Core)
- [ ] Decred (dcrwallet)
- [x] Viacoin (Viacoin Core)
- [x] Litecoin (Litecoin Core)
- [ ] Vertcoin (Vertcoin Core)
- [ ] Zcoin (Zcoin Core)
- [x] Bitcoin Testnet (Bitcoin Core)
- [ ] Decred Tesnet (dcrwallet)
- [ ] Litecoin Tesnet (Litecoin Core)
Disclaimer
This swap tool and the UI is highly experimental.
One could easily have his funds "stuck". Only use with small amounts, this tool is not for "the average Joe" for now.
The author takes no responsibility
This project is not finished, it lacks unit testing and this tool written by a Golang newbie :)
I still need to do a lot of refactoring & cleaning up the code base. It's far from finished but it works :)
Feel free to create pull requests and help improving.
API
The atomic swap tool comes with an API so others can build on top of it or for example host the atomic swap server and let users connect externily and preferably connect to their own host.
One could also host the atomic swap server as a site. (Users may have to "trust" which defeats the purpose a bit but it's doable)
API documentation will be added later.
Minimum Recommended Specifications
- Go 1.10 or 1.11
-
Linux
Installation instructions can be found here: https://golang.org/doc/install. It is recommended to add
$GOPATH/bin
to yourPATH
at this point.
setup
cd ~/go/src/github.com/
git clone [email protected]:romanornr/atomicotcswap
cd atomicotcswap
dep ensure
dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile. https://github.com/golang/dep
Credits
-
Decred Project
-
dajohi
Author Decred atomic swap
Special credits to the Decred team. This tool is heavily based on Decred's atomic swap tool
-
Frontend