Questions tagged [atomic-swap]
23 questions
7
votes
2 answers
HTLC (Hash Time Lock Contract) using bitcoin-qt
Is it possible to manually create a HTLC using the bitcoin-qt command line?
I know how to manually creating createrawtransaction/sendrawtransaction using the bitcoin-qt clients command line, and wanted to know how to manually create a HTLC.
When I…
oshirowanen
- 175
- 2
- 11
- 36
6
votes
2 answers
Can someone ELI5 to me for Bitcoin Atomic Swaps?
I'm reading up the wiki page here: https://en.bitcoin.it/wiki/Atomic_cross-chain_trading
I understand a user can create a transaction without signing it and not broadcasting it to the network. I know this is the main concept to get atomic swaps to…
Patoshi パトシ
- 10,956
- 18
- 80
- 151
5
votes
1 answer
Will all crypto-currencies exist on the same lightning network?
In the basic form, lightning-network is a chain of iou:s in one currency. But as far as I have understood, the plan is to put atomic swaps on lightning network. Will this mean that all currencies exist in the same lightning network? Does LN care and…
Kristoffer Nolgren
- 607
- 1
- 5
- 17
4
votes
1 answer
Bitcoin scripts that force disclosure of the private key
Context: I am creating an example code that would demonstrate an atomic swap between Elements and Bitcoin, with the aim that the swap transactions cannot be trivially linked, as it would be with simple HTLC, where you can look for the same…
Dmitry Petukhov
- 154
- 7
4
votes
1 answer
Trying to get a deeper understanding of atomic swaps
I'm an IT-student and writing a thesis about atomic swaps on BTC and BTC-like blockchains. For the thesis I decided to use BTC, LTC, BCH and DCR. These chains have a somehow similar codebase and the same scripting language (I'm not a professional,…
noobWithAComputer
- 89
- 5
4
votes
1 answer
Aborting a three-way swap
Suppose Alice has 1 BTC, Bob has 1 LTC, and Carol has 1 NMC. Alice wants NMC for BTC, Bob wants BTC for LTC, and Carol wants LTC for NMC. Assume each cryptocurrency has the same value and can be 1-to-1 transferred. They need to make a three-way…
Mariana salama
- 41
- 1
4
votes
1 answer
Is atomic swaps available for someone reasonably techical right now?
I keep my coins in a trezor and ledger. For the upcoming hard-fork, I would like to keep the coins with private keys.
However, I think there is a big risk in the upcoming bitcoin fork that is not priced in. Therefore I plan to sell my bitcoins for…
Kristoffer Nolgren
- 607
- 1
- 5
- 17
4
votes
2 answers
Why does blockwide signature aggregation prevent adaptor signatures?
In a recent video about half signatures, Jonas Nick mentions that blockwide signature aggregation interferes with adaptor signatures and offering atomic swaps (I guess via PTLCs).
I am confused about what breaks in that case. Do I understand…
Rene Pickhardt
- 11,670
- 8
- 35
3
votes
1 answer
How do atomic swaps work when blockchains operate at different rates?
If two cryptocurrencies work on blockchains that have very different confirmation / finality rates, or blocks are mined / minted / created at very different rates, how do atomic swaps match up? What if the prices change during the swap?
marisbest2
- 131
- 3
3
votes
2 answers
Would it be possible to do atomic swaps with Monero and Bitcoin?
Litecoin and Vertcoin is currently testing out atomic swaps with Bitcoin as of 2017-08. Would atomic swaps be possible with Monero?
Patoshi パトシ
- 10,956
- 18
- 80
- 151
2
votes
2 answers
How is the construction of atomic swaps improved by Schnorr?
How does the availability of Schnorr signatures improve the ability to perform cross-chain atomic swaps?
Murch
- 71,155
- 33
- 180
- 600
2
votes
1 answer
Simple explanation of how a hash timelock function works with an atomic trade of bitcoin / litecoin trade without a 3rd party?
From my understanding a hash timelock function trade or atomic swap involves 2 transactions one separate blockchains. The BTC user named Bob is making a trade with Alice for her LTC. Assuming its a 1 to 1 trade and neither party trusts one another.…
Patoshi パトシ
- 10,956
- 18
- 80
- 151
1
vote
3 answers
where can i do a testnet Lightning Network Reverse Submarine Swap?
i have Testnet LN Node,
i have created a wallet,
i have send on-chain funds to that wallet
i have connected to several peers
i have created several channels, all of these are outgoing one side funded channels,
i want to do a reverse submarine swap,…
Emi
- 21
- 5
1
vote
1 answer
Can I prove a double spend attempt with a signed tx with same input?
I am designing an cross-chain atomic swap in a custom blockchain - Protoblock. I think it can be done as long as Protoblock knows how to parse p2pkh bitcoin transactions. The critical part is being able to "reverse" things when it sees a double…
jaybny
- 163
- 1
- 9
1
vote
3 answers
How to do atomic swap with bitcoin?
I have read about the ATOMIC SWAP, I could find only the concept level and could not find technically. Is there any doc about atomic swap to achieve that technically and code sources to achieve this.
Thomson Ignesious
- 161
- 5