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
0
12
Atomic Swap
making atomic swap between ethereum and bitcoin
Esdras Eduardo
May 27, 2018
Tweet
Share
More Decks by Esdras Eduardo
See All by Esdras Eduardo
Dapps on Ethereum
esdrasedu
0
110
Alarm Arduino
esdrasedu
0
45
Continuous Delivery in Elixir
esdrasedu
0
160
Other Decks in Programming
See All in Programming
Datadog RUM 本番導入までの道
shinter61
1
310
ktr0731/go-mcpでMCPサーバー作ってみた
takak2166
0
170
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
120
イベントストーミングから始めるドメイン駆動設計
jgeem
4
870
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
250
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.8k
複数アプリケーションを育てていくための共通化戦略
irof
10
4k
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
380
生成AIで日々のエラー調査を進めたい
yuyaabo
0
620
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
1
160
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
820
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
120
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Designing for Performance
lara
609
69k
How to Ace a Technical Interview
jacobian
277
23k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
A Tale of Four Properties
chriscoyier
160
23k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
How STYLIGHT went responsive
nonsquared
100
5.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Embracing the Ebb and Flow
colly
86
4.7k
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?