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
仕様駆動開発の消費期限
watany
20
8.4k
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
120
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
1
930
Flow は今どうなっているか
mizdra
PRO
0
580
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
140
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
230
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
590
Google Apps Script で Ruby を動かす
kawahara
0
240
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
120
FDEが実現するAI駆動経営の現在地
gonta
2
280
5分で問診!Composer セキュリティ健康診断
codmoninc
0
1k
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
320
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
490
Optimizing for Happiness
mojombo
378
71k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
56k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
170
Color Theory Basics | Prateek | Gurzu
gurzu
0
420
Mobile First: as difficult as doing things right
swwweet
225
10k
How to make the Groovebox
asonas
2
2.3k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
From π to Pie charts
rasagy
0
290
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
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?