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
15
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
48
Continuous Delivery in Elixir
esdrasedu
0
160
Other Decks in Programming
See All in Programming
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
470
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
0
1.6k
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
190
GoLab2025 Recap
kuro_kurorrr
0
2.3k
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
770
CSC307 Lecture 02
javiergs
PRO
1
760
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
230
Deno Tunnel を使ってみた話
kamekyame
0
310
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
220
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
180
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
930
Grafana:建立系統全知視角的捷徑
blueswen
0
280
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
220
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.5k
Paper Plane (Part 1)
katiecoart
PRO
0
2.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
A Tale of Four Properties
chriscoyier
162
24k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
140
Music & Morning Musume
bryan
46
7k
Google's AI Overviews - The New Search
badams
0
890
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
91
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?