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 Debit
Search
wshino
June 25, 2018
Technology
2
1.9k
Plasma Debit
6/25のPlasma #3の発表資料です。
https://plasma-research.connpass.com/event/91372/
wshino
June 25, 2018
Tweet
Share
More Decks by wshino
See All by wshino
Past, Present and Future
wshino
1
420
libp2p
wshino
7
1.2k
Superiority of Rust
wshino
3
350
Try Cross Compile Then Fail
wshino
0
140
GORMOS - A high performance and scalable design for decentralized applications -
wshino
4
1.8k
DAppのデプロイ戦略 / DApp Deployment Strategy
wshino
3
1.7k
Sharding
wshino
4
1k
ブロックチェーン技術の登場とスマートコントラクト化する社会
wshino
5
5.2k
Truffle + Drizzle と、Ethereumの概況について
wshino
2
1.2k
Other Decks in Technology
See All in Technology
はじめてのSDET / My first challenge as a SDET
bun913
1
190
AWSLambdaMCPServerを使ってツールとMCPサーバを分離する
tkikuchi
1
1.7k
大AI時代で輝くために今こそドメインにディープダイブしよう / Deep Dive into Domain in AI-Agent-Era
yuitosato
1
260
ペアーズにおけるData Catalog導入の取り組み
hisamouna
0
270
Cursor AgentによるパーソナルAIアシスタント育成入門―業務のプロンプト化・MCPの活用
os1ma
7
1.7k
データベースで見る『家族アルバム みてね』の変遷 / The Evolution of Family Album Through the Lens of Databases
kohbis
4
1.1k
.mdc駆動ナレッジマネジメント/.mdc-driven knowledge management
yodakeisuke
24
10k
プロダクト開発におけるAI時代の開発生産性
shnjtk
2
190
バックオフィス向け toB SaaS バクラクにおけるレコメンド技術活用 / recommender-systems-in-layerx-bakuraku
yuya4
2
220
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
4
650
Would you THINK such a demonstration interesting ?
shumpei3
1
140
IVRyにおけるNLP活用と NLP2025の関連論文紹介
keisukeosone
0
180
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
67
11k
GitHub's CSS Performance
jonrohan
1030
460k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
Thoughts on Productivity
jonyablonski
69
4.6k
Adopting Sorbet at Scale
ufuk
76
9.3k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
4.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Plasma Debit plasma #3 2018.6 DMM.comラボ スマートコントラクト事業部 篠原航
自己紹介 • 篠原航 • DMMにいます • クレカを無くしました • ヨーヨーを始めました
Plasma Cash PlasmaはState Channelか? Plasma Debit Section01 Section02 Section03
Plamsa Cashのおさらい • Plasma では解決できなかった問題を解決する
何を解決するのか • 監視するデータ量が多い ◦ 自分が関わるPlasmaチェーン全部 • Plasma上で実行されたtxを親チェーンに反映するために親チェーンに正 しく完了したことを通知しなければならない ◦ confirmationの段階が必要
どうやって解決するのか • 各々のデポジットにつき固有のIDを持つトークンを振る • 固有のIDのみ監視すれば良い • 固有のIDトークンの所有権を移転し、やり取りする tx tx tx
tx 1 2 3 4 plasma plasma cash 所有
何が解決できないのか • デポジットは分割不可能(Non Fungible Token) ◦ デポジットした額をそのまま移転するしかない ◦ DEXなどの大量取引に向かない •
監視データはまだ大きい ◦ Plasma XT がその解決策 ◦ y_matsuwitter / Plasma Cash and XT
Plasma Cash PlasmaはState Channelか? Plasma Debit Section01 Section02 Section03
State Channelとは • 状態遷移をオフチェーンでやり取りする技術 ◦ ex. Lightning NetworkやRaiden On-Chain Off-Chain
PlasmaはState Channel? • State Channelとは違い、Merkle Rootを公開する必要がある • VitalikはState Channelじゃないと発言している •
VladはState Channelみたいなもんなんじゃね派
PlasmaはState Channel?
State Channel派の気持ちになってみる • オンチェーンとオフチェーンで切り分けてる • Plasmaの履歴はオンチェーンにアンカリングしてるだけ ◦ オフチェーンの一種という認識? • 最初と最後だけ見るとやってることは一緒に見えるが
• Channelってどういう意味だっけ On Plasma Off
Plasma Cash PlasmaはState Channelか? Plasma Debit Section01 Section02 Section03
何を解決するのか • Plasma Cashへのデポジット額を分割し、価値移転を行う • Plasma Cashとの差異 ◦ デポジット額の残高管理をしている •
Lightning Network 1 2 3 4 Plasma Debit 所有 残高
動作 • AliceはPlasma Cashチェーンに8ETHデポジット ◦ オペレータに4ETHデポジット ◦ 残高が4ETH • BobはPlasma
Cashチェーンに5ETHデポジット ◦ オペレータに2ETHデポジット ◦ 残高が3ETH 4ETH 2ETH 4ETH 3ETH 8ETH 5ETH
動作 • Alice 4ETH + Bob 2ETH = 6ETHがオペレータの残高になる ◦
各々の残高をオペレータが管理する 4ETH 2ETH 4ETH 3ETH 6ETH
• AliceからBobに1.3ETH送りたい ◦ 自分の残高を4.0ETH - 1.3ETH = 2.7ETHに減らし ◦ Bobの残高を3.0ETH
+ 1.3ETH = 4.3ETHにする 動作 2.7ETH 4.3ETH 6ETH 1.3ETH
• オペレーターはトランザクションによって、AliceとBobから預けられた合計 残高が変化しないことを確認する • トランザクションを承認しAliceとBobの残高を更新する 動作 2.7ETH 4.3ETH 6ETH 1.3ETH
1.3ETH
理論 • オペレータとコイン所有者との間のTwo-Way Payment Channel • 状態は定期的にメインチェーンに記載される ◦ Payment(State) Channelとの差異
• Plasma Debitコインは譲渡可能 ◦ オンチェーンのtxなく、Plasma Debitを使うことが可能 • Plasma Debitコインは他のコインともアトミックに取引可能?
制限事項 • 送金を受け取る量だけ残高に余裕がないといけない ◦ デポジット額を超えられない ◦ より大きいデポジットと所有権を交換して回避? ▪ そんな都合いいことあるのか •
現状のデザインはPlasma Cashチェーンが単独のオペレータによって運 用されている上でのみ利用可能
発展的な提案 • txをブロックに含まずオフチェーン的に使う • オペレータ以外も残高管理 • HTLCの実装 • 複数のPlasmaチェーンをまたぐトランザクションの実装
• 調べれば調べるほど謎が • 答えがない世界なので • 対話できる人を募集してます 最後に