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
Raiden and Plasma
Search
wshino
December 15, 2017
Technology
0
670
Raiden and Plasma
2017/12/15 blockchain tokyo #3 での発表資料です。Ethereumのスケール技術であるRaidenとPlasmaについて解説しています。
wshino
December 15, 2017
Tweet
Share
More Decks by wshino
See All by wshino
Past, Present and Future
wshino
1
380
libp2p
wshino
7
1.1k
Superiority of Rust
wshino
3
340
Try Cross Compile Then Fail
wshino
0
130
GORMOS - A high performance and scalable design for decentralized applications -
wshino
4
1.7k
DAppのデプロイ戦略 / DApp Deployment Strategy
wshino
3
1.7k
Sharding
wshino
4
1k
Plasma Debit
wshino
2
1.8k
ブロックチェーン技術の登場とスマートコントラクト化する社会
wshino
5
5.2k
Other Decks in Technology
See All in Technology
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
300
Next.js のページ遷移を全力で止める
ypresto
7
3.3k
2024年のナビゲーション・フォーカス対応:Composeでキーボード・ナビゲーションをサポートしよう
tahia910
0
110
App Router を実プロダクトで採用して見えてきた勘所をちょっとだけ紹介
marokanatani
1
930
AIを活用した柔軟かつ効率的な社内リソース検索への取り組み
cygames
0
180
Technical Writing Meetup vol.35
soracom
PRO
2
120
サーバー管理しないサーバーサービスManaged DevOps Pool
kkamegawa
0
130
Oracle Autonomous Database:サービス概要のご紹介
oracle4engineer
PRO
1
7.1k
React Aria で実現する次世代のアクセシビリティ
ryo_manba
4
1.2k
技術的負債解消の取り組みと専門チームのお話
bengo4com
0
340
グイグイ系QAマネージャーの仕事
sadonosake
0
340
とあるOSSを継続可能にするための取り組みについて / OSS Refactoring Process
bun913
1
210
Featured
See All Featured
A Tale of Four Properties
chriscoyier
155
22k
How to train your dragon (web standard)
notwaldorf
85
5.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
120
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
28
1.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Making Projects Easy
brettharned
113
5.8k
Statistics for Hackers
jakevdp
794
220k
Web development in the modern age
philhawksworth
205
10k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
8.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
263
13k
Code Reviewing Like a Champion
maltzj
517
39k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Transcript
RAIDEN AND PLASMA
ࢲ ॴଐ @shinanonozenji_ DMM.com Labo Ϗοάσʔλ෦ ϨίϝϯυνʔϜ
ࢲ ͬͯΔ͜ͱ DevOps Kubernetes, Spinnaker, Istio API Akka HTTP, Play
Recommend Batch Spark SQLͪΐͱۤख
ࢲ Next Currency WalletपΓͷΞʔΩςΫνϟઃܭ
ΰʔϧ ϒϩοΫνΣʔϯͷεέʔϥϏϦςΟΛཧ ղ͢Δ EthereumͷRaiden, Plasmaʹ͍ͭͯཧղ͢Δ
εέʔϥϏϦςΟ
εέʔϥϏϦςΟ શͯͷϊʔυ͕ಉ͡λεΫΛॲཧ͍ͯ͠Δ શͯͷϊʔυ͕ಉҰͷঢ়ଶΛ࣋ͭ ϊʔυΛ2ഒʹ֤ͯ͠ϊʔυͷλεΫྔಉ ͡ ϊʔυΛ૿ͯ͠εέʔϧ͠ͳ͍
εέʔϥϏϦςΟͷղܾํ๏ ΦϑνΣʔϯ ΦϯνΣʔϯ
εέʔϥϏϦςΟͷղܾํ๏ ΦϑνΣʔϯ λεΫͷҰ෦ΛϒϩοΫνΣʔϯͷ֎ଆͰॲཧ ϊʔυશମͰσʔλΛڞ༗͢Δඞཁ͕ͳ͍ ྫ Raiden TrueBit Lightning Network
εέʔϥϏϦςΟͷղܾํ๏ ΦϑνΣʔϯ ϒϩοΫνΣʔϯͰॲཧ͖͢λεΫྔΛݮΒ ͍ͯ͠Δ͚ͩ εέʔϧ͠ͳ͍Λղܾ͍ͯ͠ͳ͍ ύϑΥʔϚϯεͷղܾͰ͖Δ
εέʔϥϏϦςΟͷղܾํ๏ ΦϯνΣʔϯ λεΫσʔλΛׂͯ͠ɺׂ͞ΕͨλεΫ σʔλΛฒྻͰॲཧ ྫ Plasma γϟʔσΟϯά
લఏࣝ
લఏࣝ ϚϧνγάΞυϨε ϖΠϝϯτνϟωϧ ୯ํϖΠϝϯτνϟωϧ ํϖΠϝϯτνϟωϧ Lightning Network
લఏࣝ ϚϧνγάΞυϨε M-of-N Nݸͷൿີ伴ͷ͏ͪɺMݸͷൿີ伴Ͱ։ৣ
લఏࣝ ϖΠϝϯτνϟωϧ 2-of-2ϚϧνγάΞυϨεʹσϙδοτ σϙδοτͷൣғͰߴʹΓͱΓ ࠷ޙͷঢ়ଶΛϒϩοΫʹॻ͖ࠐΉ ϒϩοΫͷॻ͖ࠐΈ࠷ॳͱ࠷ޙͷ2ճ
લఏࣝ ୯ํϖΠϝϯτνϟωϧ Alice͔ΒBobͷҰํͷΓͱΓ Alice͕AliceͱBobͷ2-of-2Ϛϧνγάʹσϙδο τ σϙδοτͷൣғͰBobʹnճΓͱΓ
લఏࣝ ํϖΠϝϯτνϟωϧ AliceͱBobͷ૬ޓͷΓͱΓ AliceͱBob͕2-of-2Ϛϧνγάʹσϙδοτ σϙδοτͷൣғͰ૬ޓʹnճΓͱΓ ෆਖ਼͕ߦΘΕͨࡍશֹճऩͰ͖ΔΈ
લఏࣝ Lightning Network ํϖΠϝϯτνϟωϧͷϦϨʔ HTLCͰ్தͷܦ༝Ͱ౪Ίͳ͍Α͏ʹͳ͍ͬͯΔ
RAIDEN
RAIDEN Lightning NetworkͷΞΠσΞΛϕʔεʹ͍ͯ͠Δ ΦϑνΣʔϯͰτϥϯβΫγϣϯΛॲཧ͢Δ ϒϩοΫੜΛͨͳ͍ͷͰߴʹΓͱΓՄ ೳ εϚʔτίϯτϥΫτͷ࣮ߦෆՄ
RAIDEN Lightning Networkͱͷҧ͍ Lightning NetworkBTCͷΓͱΓͷΈ RaidenERC20४ڌτʔΫϯ͕ΓͱΓՄೳ ETHWETHʹͯ͠ΓͱΓ WETH = ETHΛERC20ʹϥοϓͨ͠ͷ
RAIDEN ϝϦοτ ॻ͖ࠐΈΦʔϓϯͱΫϩʔζͷΈ खྉݮ ΦϑνΣʔϯͷऔҾެ։͞Εͳ͍ ్தͷঢ়ଶΛอ࣋͠ͳ͍ ྫɿಈըࢹௌ͝ͱʹ՝ۚ͞ΕΔαʔϏεͷֹ݄ ࢧ͍ ͍͘Β͔ͬͨΘ͔Δ ͍ͭͲΕ͚͔ͩͬͨΘ͔Βͳ͍
RAIDEN σϝϦοτ ߴֹऔҾʹෆ͖ ͋Β͔͡Ίσϙδοτͨ͠߹ܭྔΛ͑ΒΕͳ ͍ ܦ༝ऀσϙδοτ͢Δඞཁ͕͋Δ
RAIDEN Raidenͷछྨ μRaiden Raiden Network Raidos
RAIDEN μRaiden Bug Bounty͕ϝΠϯωοτʹϦϦʔεࡁΈ ୯ํνϟωϧ 1ରnͷϢʔεέʔε ΞϓϦέʔγϣϯରϢʔβʔͳͲ ઐ༻ͷRDNτʔΫϯͷΈΓͱΓՄೳ ERC20ͱERC223ޙରԠ
RAIDEN Raiden Network ςετωοτʹϦϦʔεࡁΈ ํνϟωϧ nରnͷϢʔεέʔε όέπϦϨʔͰసૹͰ͖Δ
RAIDEN Raidos ܭըஈ֊Ͱ։ൃ͕։࢝͞Ε͍ͯͳ͍ Raiden2.0 εϚʔτίϯτϥΫτͷ࣮ߦΛαΠυνΣʔϯ Ͱߦ͏
RAIDEN ICO RaidenͰ͏RDNτʔΫϯͷചΓग़͠ ྨࣅϓϥοτϑΥʔϜͷཚཱΛճආ ϑϧϊʔυͷҡ࣋අ αʔυύʔςΟπʔϧͷΠϯηϯςΟϒ
RAIDEN ϓϩδΣΫτ raidEX ߴͳࢄऔҾॴΛ࣮ݱ͢Δ Trustlines Network ๏ఆ௨՟ͷϖΠϝϯτ
RAIDEN ՝ தܧܦ࿏ͷޮత୳ࡧ
PLASMA
PLASMA ֓ཁ 20178݄ʹൃද ࣮·ͩ ͜ͷใมΘΔ͔ Root Chain ʹPlasma ChainΛଓ͢Δ Plasma
ChainʹॲཧΛҠৡ͠ɺ࠷ऴ݁ՌΛRoot Chainʹॻ͖ࠐΉ Plasma ChainͰεϚʔτίϯτϥΫτ࣮ߦՄೳ ෆਖ਼ࢭػೳɺfraud proof
PLASMA
PLASMA ॲཧͷৄࡉ Chainͷ֊ߏ Root ChainͰΔλεΫΛPlasma ChainʹૹΔ ͞ΒʹԼͷChainʹλεΫΛࡉԽͯ͠ૹΔ ԼͷChainॲཧྃͨ͠Β্ͷChainʹ͢ ॲཧΛ·ͱΊ্͛Δ Root
Chainʹૹ৴͢Δ
PLASMA ॲཧͷৄࡉ
PLASMA ॲཧੑೳͷ্ྫ ֤Chainͷॲཧྔ͕10tx/secͩͱͨ͠Β Child Chain x 3 = 30tx/sec ͞ΒʹChild
Chain x 3 = 90tx/sec ͞ΒʹChild Chain x 3 = 270tx/sec
PLASMA ΧϯλʔύʔςΟ͝ͱʹฒྻܭࢉ
PLASMA ΧϯλʔύʔςΟ͝ͱʹฒྻܭࢉ
PLASMA Raidenͱซ༻
PLASMA ϝϦοτ εϚʔτίϯτϥΫτಈ࡞Մೳ σʔλαΠζ͕ݮΔ ฒߦॲཧͰେ͖ͳτϥϯβΫγϣϯ͕ಈ͔ͤΔ
྆ऀͷҧ͍ raiden τϥϯβΫγϣϯͷߴԽ τʔΫϯͷड͚͠Λ͘͢Δ plasma MapReduceͰεϧʔϓοτͷ্ ≠ ݸʑͷτϥϯβΫγϣϯͷߴԽͰͳ͍