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
720
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
440
libp2p
wshino
7
1.3k
Superiority of Rust
wshino
3
360
Try Cross Compile Then Fail
wshino
0
150
GORMOS - A high performance and scalable design for decentralized applications -
wshino
4
1.8k
DAppのデプロイ戦略 / DApp Deployment Strategy
wshino
3
1.8k
Sharding
wshino
4
1.1k
Plasma Debit
wshino
2
1.9k
ブロックチェーン技術の登場とスマートコントラクト化する社会
wshino
5
5.3k
Other Decks in Technology
See All in Technology
夢の印税生活 / Life on Royalties
tmtms
0
280
GitHub Copilot coding agent を推したい / AIDD Nagoya #1
tnir
3
4.6k
Devinを使ったモバイルアプリ開発 / Mobile app development with Devin
yanzm
0
190
AIとTDDによるNext.js「隙間ツール」開発の実践
makotot
6
700
LLMエージェント時代に適応した開発フロー
hiragram
1
410
JavaScript 研修
recruitengineers
PRO
3
180
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
24
6.2k
モバイルアプリ研修
recruitengineers
PRO
3
260
AIエージェント就活入門 - MCPが履歴書になる未来
eltociear
0
530
Evolution on AI Agent and Beyond - AGI への道のりと、シンギュラリティの3つのシナリオ
masayamoriofficial
0
180
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
3
260
自社製CMSからmicroCMSへのリプレースがプロダクトグロースを加速させた話
nextbeatdev
0
140
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
302
21k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.6k
How STYLIGHT went responsive
nonsquared
100
5.7k
Typedesign – Prime Four
hannesfritz
42
2.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
820
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Mobile First: as difficult as doing things right
swwweet
223
9.9k
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Ͱεϧʔϓοτͷ্ ≠ ݸʑͷτϥϯβΫγϣϯͷߴԽͰͳ͍