Questions tagged [atomic-swap]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 views

lightning to lightning non custodial swaps [closed]

Do you know the way to freeze funds in lightning tx to implement atomic swap between two independent lightning networks?
2
votes
1answer
275 views

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 ...
1
vote
2answers
80 views

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 ...
0
votes
1answer
168 views

How to perform atomic swap Bitcoin-Litecoin

I am running Bitcoin and Litecoin nodes fully synced on testnet.Can I perform atomic swapping by using this networks? I heard it can be done through HTLC(Hash Time Locked Contracts). How can I do ...
1
vote
1answer
135 views

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 ...
4
votes
1answer
134 views

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 ...
2
votes
2answers
203 views

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?
0
votes
3answers
96 views

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.
5
votes
2answers
1k views

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 ...
1
vote
2answers
48 views

Atomic Swap - What if redeem is done just before expiration

As per the explanation provided here: https://github.com/decred/atomicswap The contract is valid for a certain amount of time (example set to 48h) and in order for the party B to recover the found, ...
4
votes
1answer
96 views

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
vote
2answers
180 views

Atomic Swap - Problem?

Can somebody explain me why atomic swaps are not flawed in that way: When I give him/her my secret he/she could decide wheter to make the trade or not. If the price does favor him/her after a certain ...
3
votes
1answer
65 views

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 ...
4
votes
1answer
148 views

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 ...
5
votes
1answer
232 views

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 ...
2
votes
1answer
182 views

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 ...
1
vote
2answers
399 views

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?
5
votes
2answers
550 views

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 ...