Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Atomic Swap
Search
Esdras Eduardo
May 27, 2018
Programming
17
0
Share
Atomic Swap
making atomic swap between ethereum and bitcoin
Esdras Eduardo
May 27, 2018
More Decks by Esdras Eduardo
See All by Esdras Eduardo
Dapps on Ethereum
esdrasedu
0
110
Alarm Arduino
esdrasedu
0
50
Continuous Delivery in Elixir
esdrasedu
0
160
Other Decks in Programming
See All in Programming
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
180
From Formal Specification to Property Based Test
ohbarye
0
700
2026年のソフトウェア開発を考える(2026/05版) / Software Engineering Scrum Fest Niigata 2026 Edition
twada
PRO
21
10k
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
t *testing.T は どこからやってくるの?
otakakot
1
900
JOAI2026 1st solution - heron0519 -
heron0519
0
170
AIと共に生きる技術選定 2026
sgash708
0
120
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
490
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.8k
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
330
継続的な負荷検証を目指して
pyama86
0
190
Featured
See All Featured
BBQ
matthewcrist
89
10k
Facilitating Awesome Meetings
lara
57
6.8k
エンジニアに許された特別な時間の終わり
watany
106
240k
Visualization
eitanlees
150
17k
Utilizing Notion as your number one productivity tool
mfonobong
4
300
Abbi's Birthday
coloredviolet
2
7.4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
The browser strikes back
jonoalderson
0
1k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
510
Paper Plane
katiecoart
PRO
1
49k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
100
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
Atomic Swap
@esdrasedu
[email protected]
github.com/esdrasedu
www.314coins.com
www.meetup.com/elug_sp/
www.meetup.com/ethereum_sp
O que é ATOMIC SWAP?
None
Alice Bob
Alice sha256(?) =
Alice
Alice
Bob
Bob
Alice Bob
O que blockchain precisa para o ATOMIC SWAP? • Hash
function • Smart contract (if else) • Timelocked function
None
Ethereum(Solidity)
BITCOIN/DECRED/LITECOINS... P2SH OP_TRUE OP_IF OP_RIPEMD160 {SECRET} OP_EQUALVERIFY OP_DUP OP_HASH160 {HASH}
OP_CHECKLOCKTIMEVERIFY
DEMO
Links https://speakerdeck.com/esdrasedu/atomic_swap https://github.com/esdrasedu/atomic_swap https://bitcointalk.org/index.php?topic=193281 https://en.bitcoin.it/wiki/Atomic_cross-chain_trading https://github.com/decred/atomicswap https://hackernoon.com/so-how-do-i-really-do-an-atomic-swap-f797852c7639
Perguntas?