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
Plasma_Overview_gbec20180928.pdf
Search
nakajo2011
June 29, 2021
Technology
0
75
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
390
The Ethereum design direction.
nakajo2011
0
78
Report of Devcon5 2019.10.17
nakajo2011
0
620
Compare of Libra and Ethereum
nakajo2011
1
460
What is Move language
nakajo2011
1
1.1k
blockchain-changing-and-issues
nakajo2011
4
570
Thinking Scalability from DEX
nakajo2011
0
110
Truffleの紹介_in_hicon2018.pdf
nakajo2011
3
310
Truffle Test Tips and other
nakajo2011
2
180
Other Decks in Technology
See All in Technology
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
110
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
72k
The Engineer with a Three-Year Cycle - 2
e99h2121
0
210
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
450
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
メルカリのAI活用を支えるAIセキュリティ
s3h
7
5.4k
2026年はチャンキングを極める!
shibuiwilliam
8
1.7k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
1
110
SMTP完全に理解した ✉️
yamatai1212
0
120
3分でわかる!新機能 AWS Transform custom
sato4mi
1
270
開発メンバーが語るFindy Conferenceの裏側とこれから
sontixyou
2
390
DEVCON 14 Report at AAMSX RU65: V9968, MSX0tab5, MSXDIY etc
mcd500
0
230
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
120
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
150
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
HDC tutorial
michielstock
1
330
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
[SF Ruby Conf 2025] Rails X
palkan
0
730
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
810
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
210
The Mindset for Success: Future Career Progression
greggifford
PRO
0
220
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
920
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
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 おわり