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
Gasを誰が払うのか問題について
Search
yudetamago
July 24, 2018
Programming
4.7k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gasを誰が払うのか問題について
yudetamago
July 24, 2018
More Decks by yudetamago
See All by yudetamago
ブロックチェーンとIndexer
yudetamago
0
970
Unityでブロックチェーンアプリを作る
yudetamago
0
1.9k
DApps開発特有の_ハマりポイントご紹介.pdf
yudetamago
1
1.5k
スマートコントラクトの監査について
yudetamago
2
640
DApps開発事例 ~CryptoCrystal概要編~
yudetamago
3
340
Solidityの複数コントラク ト連携を色々試してる話
yudetamago
1
2.4k
Dapps開発におけるSoliidityのはまりどころ
yudetamago
3
2.4k
Other Decks in Programming
See All in Programming
LLM Plugin for Node-REDの利用方法と開発について
404background
0
160
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.6k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
160
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
270
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.7k
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
570
OSもどきOS
arkw
0
460
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.5k
RTSPクライアントを自作してみた話
simotin13
0
510
ふつうのFeature Flag実践入門
irof
7
3.6k
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
110
Lessons from Spec-Driven Development
simas
PRO
0
140
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
550
The Curious Case for Waylosing
cassininazir
1
380
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
Believing is Seeing
oripsolob
1
140
Un-Boring Meetings
codingconduct
0
310
Building Adaptive Systems
keathley
44
3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Building an army of robots
kneath
306
46k
Everyday Curiosity
cassininazir
0
220
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
The browser strikes back
jonoalderson
0
1.1k
Transcript
Gasを誰が払うのか問題について blockchain.tokyo #10 2018/7/24 ゆで卵 1
自己紹介 ゆで卵 Twitter: @takayukib Github: yudetamago フリーランス DApps(Solidity), Rails辺りをやっている 2
みなさんDApps使ってますか? 3
DApps利用者はまだまだ少ない https://dappradar.com/dapps (2018/7/24) 4
なぜDAppsは浸透しないのか? 5
まだUXが悪い MetaMaskインストールが必要 秘密鍵とパスフレーズの管理が必要 仮想通貨取引所に登録して入金が必要 etc... やること・覚えることが多い ref: https://www.uplucid.com/entry/2018/07/12/DAppsのUXが非常に 良くない問題をどうにかする 6
どうすれば良いか? (ETHを配るのは無しで) 7
代表的な方法(私見) トランザクションの実行を委譲する Meta Transaction、ERC877など gasをETHではなくトークンで支払う ERC865など 8
Meta Transaction ユーザーでトランザクションへの署名だけを行い、トランザクションの 実行自体は第三者が行う。 https://qiita.com/doskin/items/5764c55e2bdd528db4ed 9
ERC865: Pay transfers in tokens instead of gas, in one
transaction ERC20の拡張で、トークンのtransferにかかるgasを ETHでなくトークンで支払う https://github.com/ethereum/EIPs/issues/865 (draftなので変わる可能性あり) 10
ERC20の流れ 11
ERC865の流れ 12
ERC877: Separating transaction signer from transaction deployer Ethereumのtxを従来のtxと、signedTransactionをフィールドに含むよ うなtxの2種類に分ける (あまり進んでない...?)
https://github.com/ethereum/EIPs/issues/877 13
ERC1077: Executable Signed Messages refunded by the contract ERC865とERC877を踏まえて(トークンのtransferに限らない)トラン ザクション実行の委譲とトークンでのgasの支払いを統一的に扱えるよ
うにしたインターフェース 14
ERC1077の流れ 15