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
なぜ あなたはそんなに re:Invent に行くのか?
miu_crescent
PRO
0
200
「もしもデータ基盤開発で『強くてニューゲーム』ができたなら今の僕はどんなデータ基盤を作っただろう」
aeonpeople
0
230
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
120
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
0
210
SREが取り組むデプロイ高速化 ─ Docker Buildを最適化した話
capytan
0
140
AWSの新機能をフル活用した「re:Inventエージェント」開発秘話
minorun365
2
440
LayerX QA Night#1
koyaman2
0
250
AgentCore BrowserとClaude Codeスキルを活用した 『初手AI』を実現する業務自動化AIエージェント基盤
ruzia
7
1.4k
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
3
2.6k
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
1
400
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
150
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
130
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
66
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.7k
Unsuck your backbone
ammeep
671
58k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
250
Building an army of robots
kneath
306
46k
Faster Mobile Websites
deanohume
310
31k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Exploring anti-patterns in Rails
aemeredith
2
200
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
210
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
75
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 おわり