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
16
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
49
Continuous Delivery in Elixir
esdrasedu
0
160
Other Decks in Programming
See All in Programming
dchart: charts from deck markup
ajstarks
3
990
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
660
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
ぼくの開発環境2026
yuzneri
0
160
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Code Reviewing Like a Champion
maltzj
527
40k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Typedesign – Prime Four
hannesfritz
42
2.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
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?