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
680
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
340
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.8k
ブロックチェーン技術の登場とスマートコントラクト化する社会
wshino
5
5.2k
Other Decks in Technology
See All in Technology
一休.comレストランにおけるRustの活用
kymmt90
3
580
GitHub Universe: Evaluating RAG apps in GitHub Actions
pamelafox
0
170
Forget efficiency – Become more productive without the stress
ufried
0
100
Product Engineer Night #6プロダクトエンジニアを育む仕組み・施策
hacomono
PRO
1
460
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
180
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
170
Commitment vs Harrisonism - Keynote for Scrum Niseko 2024
miholovesq
6
1.1k
【若手エンジニア応援LT会】AWSで繋がり、共に成長! ~コミュニティ活動と新人教育への挑戦~
kazushi_ohata
0
180
事業者間調整の行間を読む 調整の具体事例
sugiim
0
1.3k
初心者に Vue.js を 教えるには
tsukuha
5
390
「 SharePoint 難しい」ってよく聞くけど、そんなに言うなら8歳の息子に試してもらった
taichinakamura
1
600
AIを駆使したゲーム開発戦略: 新設AI組織の取り組み / sge-ai-strategy
cyberagentdevelopers
PRO
1
130
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
180
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
BBQ
matthewcrist
85
9.3k
Building an army of robots
kneath
302
42k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Unsuck your backbone
ammeep
668
57k
Adopting Sorbet at Scale
ufuk
73
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Ͱεϧʔϓοτͷ্ ≠ ݸʑͷτϥϯβΫγϣϯͷߴԽͰͳ͍