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
5
4.4k
Gasを誰が払うのか問題について
yudetamago
July 24, 2018
Tweet
Share
More Decks by yudetamago
See All by yudetamago
ブロックチェーンとIndexer
yudetamago
0
850
Unityでブロックチェーンアプリを作る
yudetamago
0
1.7k
DApps開発特有の_ハマりポイントご紹介.pdf
yudetamago
1
1.3k
スマートコントラクトの監査について
yudetamago
2
570
DApps開発事例 ~CryptoCrystal概要編~
yudetamago
3
290
Solidityの複数コントラク ト連携を色々試してる話
yudetamago
1
2.1k
Dapps開発におけるSoliidityのはまりどころ
yudetamago
3
2.2k
Other Decks in Programming
See All in Programming
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.4k
Beyond ORM
77web
11
1.6k
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
960
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
2k
Amazon Nova Reelの可能性
hideg
0
230
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
560
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
120
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
570
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
180
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
2.1k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
400
テストコード書いてみませんか?
onopon
2
350
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
GitHub's CSS Performance
jonrohan
1030
460k
Thoughts on Productivity
jonyablonski
68
4.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
3k
Typedesign – Prime Four
hannesfritz
40
2.5k
Site-Speed That Sticks
csswizardry
3
280
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
YesSQL, Process and Tooling at Scale
rocio
170
14k
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