Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [atomic-swap]

The tag has no usage guidance.

0
votes
1answer
24 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
58 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
126 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
115 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
143 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
67 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
858 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
38 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, ...
5
votes
1answer
94 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
148 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
61 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
138 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
213 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
161 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
279 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?
4
votes
2answers
519 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 ...