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.5k
Gasを誰が払うのか問題について
yudetamago
July 24, 2018
Tweet
Share
More Decks by yudetamago
See All by yudetamago
ブロックチェーンとIndexer
yudetamago
0
910
Unityでブロックチェーンアプリを作る
yudetamago
0
1.8k
DApps開発特有の_ハマりポイントご紹介.pdf
yudetamago
1
1.4k
スマートコントラクトの監査について
yudetamago
2
600
DApps開発事例 ~CryptoCrystal概要編~
yudetamago
3
310
Solidityの複数コントラク ト連携を色々試してる話
yudetamago
1
2.2k
Dapps開発におけるSoliidityのはまりどころ
yudetamago
3
2.3k
Other Decks in Programming
See All in Programming
Goで作る、開発・CI環境
sin392
0
240
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
280
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
240
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
270
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
180
Porting a visionOS App to Android XR
akkeylab
0
600
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
740
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
120
What's new in AppKit on macOS 26
1024jp
0
120
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
600
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
3
350
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
540
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Documentation Writing (for coders)
carmenintech
72
4.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
510
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
BBQ
matthewcrist
89
9.7k
Speed Design
sergeychernyshev
32
1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
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