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
870
Unityでブロックチェーンアプリを作る
yudetamago
0
1.7k
DApps開発特有の_ハマりポイントご紹介.pdf
yudetamago
1
1.4k
スマートコントラクトの監査について
yudetamago
2
580
DApps開発事例 ~CryptoCrystal概要編~
yudetamago
3
290
Solidityの複数コントラク ト連携を色々試してる話
yudetamago
1
2.2k
Dapps開発におけるSoliidityのはまりどころ
yudetamago
3
2.2k
Other Decks in Programming
See All in Programming
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
160
CloudRun, Spanner に対する負荷試験の反省と オブザーバビリティによるアプローチ
oyasumipants
1
190
「個人開発マネタイズ大全」が教えてくれたこと
bani24884
1
300
良いコードレビューとは
danimal141
9
8.5k
未経験でSRE、はじめました! 組織を支える役割と軌跡
curekoshimizu
1
210
変化の激しい時代における、こだわりのないエンジニアの強さ
satoshi256kbyte
1
130
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
160
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
160
バッチを作らなきゃとなったときに考えること
irof
2
560
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.9k
機能が複雑化しても 頼りになる FactoryBotの話
tamikof
1
250
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
430
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
13
1k
Writing Fast Ruby
sferik
628
61k
RailsConf 2023
tenderlove
29
1k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
390
How STYLIGHT went responsive
nonsquared
99
5.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
Product Roadmaps are Hard
iamctodd
PRO
51
11k
Making Projects Easy
brettharned
116
6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Designing for humans not robots
tammielis
250
25k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
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