Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Plasma_Overview_gbec20180928.pdf
Search
nakajo2011
June 29, 2021
Technology
0
71
Plasma_Overview_gbec20180928.pdf
GBECの解説動画の資料です。
https://goblockchain.network/2018/10/plasma_overview/
nakajo2011
June 29, 2021
Tweet
Share
More Decks by nakajo2011
See All by nakajo2011
What is Ethereum about tech layer
nakajo2011
0
380
The Ethereum design direction.
nakajo2011
0
75
Report of Devcon5 2019.10.17
nakajo2011
0
620
Compare of Libra and Ethereum
nakajo2011
1
450
What is Move language
nakajo2011
1
1.1k
blockchain-changing-and-issues
nakajo2011
4
560
Thinking Scalability from DEX
nakajo2011
0
100
Truffleの紹介_in_hicon2018.pdf
nakajo2011
3
310
Truffle Test Tips and other
nakajo2011
2
180
Other Decks in Technology
See All in Technology
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
120
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
3.6k
LayerX QA Night#1
koyaman2
0
250
AI との良い付き合い方を僕らは誰も知らない
asei
0
240
Identity Management for Agentic AI 解説
fujie
0
450
ソフトウェアエンジニアとAIエンジニアの役割分担についてのある事例
kworkdev
PRO
0
210
Kiro を用いたペアプロのススメ
taikis
4
1.7k
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
130
SQLだけでマイグレーションしたい!
makki_d
0
1.2k
AWSの新機能をフル活用した「re:Inventエージェント」開発秘話
minorun365
2
440
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
3
2.6k
Connection-based OAuthから学ぶOAuth for AI Agents
flatt_security
0
350
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
390
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
65
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
340
Crafting Experiences
bethany
0
22
YesSQL, Process and Tooling at Scale
rocio
174
15k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
55
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
What does AI have to do with Human Rights?
axbom
PRO
0
1.9k
Practical Orchestrator
shlominoach
190
11k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
29
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
370
Transcript
Plasmaの概要 ~ Plasma入門 ~ 1
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 2
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 3
• Ethereumは1秒間に10~15txぐらいしか処理できない • なぜ遅いのか? ◦ decentralizationを維持する必要がある。 ▪ みんなが全てのtransactionをverifyしている ◦ transactionが大量に発行されている
◦ blockが十分に伝播されるまで待つ必要がある 4 1. Blockchainのトリレンマ
5 1. Blockchainのトリレンマ
• ScalabilityとDecentralizationを優先するとSecurityが犠牲になる ◦ block生成が早いのでforkの確率が上がる。reorgの可能性が上 がる ◦ データ量が増えると、miningできるnodeが限られてくるので集中 化する • ScalabilityとSecurityを優先するとDecentralizationが犠牲になる
◦ PoAなどを採用するとminerへのtrustが必要になる 6 1. Blockchainのトリレンマ
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと 7 Plasmaの概要 ~ Plasma入門 ~
• Scalabilityを改善するための方針 ◦ 自分に関係のあるtransactionだけverifyしたい ◦ 特定のTransactionだけが流れるようにしたい • じゃあ上記を満たすchainを作っちゃえばいい ◦ side
chainなのでroot chainのHFが不要 ◦ root chainと並列して処理が可能 8 2. Side chainを用いた改善案
9 2. Side chainを用いた改善案
• 2way-peg ◦ 必要に応じてroot chainからside chainに移動することができ る。 ◦ この時root chainの資産をside
chainに移動する仕組み ◦ さらにside chain上で取引終了時にroot chainに資産を戻す必 要があるので2way 10 2. Side chainを用いた改善案
• PoS or dPoS or PoA ◦ side chainでのコンセンサスアルゴリズムはfinalityを得られるも のが良い
◦ PoWでも不可能ではないけど、reorgの危険が伴う ◦ 2way-pegを実現する際の難易度に直結する ◦ root chain、side chainともにfinalityを得られるコンセンサスアル ゴリズムだとベスト 11 2. Side chainを用いた改善案
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと 12 Plasmaの概要 ~ Plasma入門 ~
• root chainと同価値のトークンを弱いchain上で扱っている ◦ node数が少ないので容易に攻撃可能 ◦ minerが裏切るインセンティブが高い ▪ PoSやPoAではminerの裁量度合いがPoWよりも大きい •
Side chainでは参加者に逃げ場がないのでやられたい放題 13 3. Side chainが抱える問題
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 14
• Plasma ! ◦ 一番重要なことは参加者の資産を守ること • Plasmaが満たすべき条件 ◦ minerが裏切ったら参加者はいつでもroot chainにもどれる
▪ いつでもroot chainに戻れるので資産が盗まれることはない 15 4. Plasmaコンセプトの提案
• check pointの作成 ◦ plasma chainは一定期間ごとにroot chainにcheck pointを記録 する 16
4. Plasmaコンセプトの提案
• exit(=withdraw) ◦ plasmaではroot chainに対してexitを申請する ◦ root chainではcheck pointを元にそのexitが正当なものかチェッ クする
17 4. Plasmaコンセプトの提案
• Plasmaコンセプトの肝 ◦ root chain上でexit申請ができるようにしている ◦ そのためside chainが止まっても資産は安全に取り戻せる基本 的にside chain参加者の資産を保護するための仕組み
◦ ユーザの不正(double spentなど)を潰す仕組み(=challenge)も 提供 ◦ plasma chainはUTXOベースで資産を管理する ◦ chainが分かれているため、不正を潰すためには監視が必要 18 4. Plasmaコンセプトの提案
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 19
• Plasma-Cash ◦ bloom filter的なものを使って、challengeに必要なtxデータを圧 縮する仕組み。 ◦ NFT(Non Fungible Token)を活用
◦ 自分が持っているtokenのIDだけ監視すればOK ◦ 理論上、double spentなどを行おうとすると即座に潰すことがで きるのでユーザは一切不正が行えない。 20 5. Advanced Plasmas
• Plasma-XT ◦ Plasma-Cashをさらに発展させたもの ◦ 全てのtokenについてexit済みかどうかの0,1フラグを立てたメタ データを準備する ◦ 誰かが不正に自分のtokenをexitしようとするとその箇所のbitに 1が立つので容易に発見可能
◦ challengeのために保持するデータがbit単位になるのでかなり の圧縮が見込める 21 5. Advanced Plasmas
• Plasma-snapp ◦ zk-SNARKsを用いてexit gameとconfirmation signatureを取り 除く提案 ◦ exit gameのせいでplasmaの複雑性が増していたのでこれが取
り除かれるのはかなり大きなゲームチェンジ ◦ 中身の詳しいことは難しすぎてよくわからない。。。 22 5. Advanced Plasmas
ブログも宜しく http://y-nakajo.hatenablog.com/ 日本語でのEthereumに関する議論はこちらで https://research.cryptoeconomicslab.com/ 23 おわり