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
690
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
390
libp2p
wshino
7
1.2k
Superiority of Rust
wshino
3
350
Try Cross Compile Then Fail
wshino
0
140
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.9k
ブロックチェーン技術の登場とスマートコントラクト化する社会
wshino
5
5.2k
Other Decks in Technology
See All in Technology
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.6k
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
1
230
SSMRunbook作成の勘所_20241120
koichiotomo
2
150
AGIについてChatGPTに聞いてみた
blueb
0
130
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
520
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.4k
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
120
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
150
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Rails Girls Zürich Keynote
gr2m
94
13k
Building an army of robots
kneath
302
43k
RailsConf 2023
tenderlove
29
900
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Side Projects
sachag
452
42k
BBQ
matthewcrist
85
9.3k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Agile that works and the tools we love
rasmusluckow
327
21k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Gamification - CAS2011
davidbonilla
80
5k
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Ͱεϧʔϓοτͷ্ ≠ ݸʑͷτϥϯβΫγϣϯͷߴԽͰͳ͍