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
21
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
51
Continuous Delivery in Elixir
esdrasedu
0
160
Other Decks in Programming
See All in Programming
The NotImplementedError Problem in Ruby
koic
1
670
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
120
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
120
ふつうのFeature Flag実践入門
irof
7
3.7k
OSもどきOS
arkw
0
470
CSC307 Lecture 17
javiergs
PRO
0
320
JavaDoc 再入門
nagise
0
310
スマートグラスで並列バイブコーディング
hyshu
0
120
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
320
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
5
3k
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
530
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
320
ラッコキーワード サービス紹介資料
rakko
1
3.6M
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
360
エンジニアに許された特別な時間の終わり
watany
107
250k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
How to Talk to Developers About Accessibility
jct
2
230
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Evolving SEO for Evolving Search Engines
ryanjones
0
210
Scaling GitHub
holman
464
140k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
610
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?