https://medium.com/suredbits/how-do-submarine-swaps-work-907ed0d91498
https://en.bitcoinwiki.org/wiki/Pay-to-Script_Hash
https://zcash-rpc.github.io/signrawtransaction.html
https://medium.com/@bitaps.com/exploring-bitcoin-signing-p2sh-input-2dde869c5f5c
https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch04.asciidoc#p2sh
https://en.bitcoin.it/wiki/Script
https://blog.softwaremill.com/debugging-bitcoin-script-failures-f7f27b2a0ec4
HTLC:
https://bitcoin.stackexchange.com/questions/74753/htlc-hash-time-lock-contract-using-bitcoin-qt
https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki
https://medium.com/summa-technology/bitcoins-time-locks-27e0c362d7a1
http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html
https://medium.com/@bitaps.com/exploring-bitcoin-signing-p2sh-input-2dde869c5f5c
https://bitcoin.stackexchange.com/questions/66594/signing-transaction-with-ssl-private-key-to-pem
https://gist.github.com/fivepiece/3f77270cd329f75fa28b5f0101b4f531
KMD & Hush added into swaps-service (similar to BCH), NOT TESTED:
https://github.com/submarineswaps/swaps-service/compare/master...phm87:hush
AtomicDEX/mm2: https://github.com/KomodoPlatform/atomicDEX-API/blob/mm2/mm2src/coins/utxo.rs#L309
https://bjarnemagnussen.netlify.com/post/lets-build-a-broker-for-submarine-swaps-part3/
hodl invoice (reverse submarine swaps): lightningnetwork/lnd#2022