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.6k
Gasを誰が払うのか問題について
yudetamago
July 24, 2018
Tweet
Share
More Decks by yudetamago
See All by yudetamago
ブロックチェーンとIndexer
yudetamago
0
950
Unityでブロックチェーンアプリを作る
yudetamago
0
1.8k
DApps開発特有の_ハマりポイントご紹介.pdf
yudetamago
1
1.4k
スマートコントラクトの監査について
yudetamago
2
620
DApps開発事例 ~CryptoCrystal概要編~
yudetamago
3
330
Solidityの複数コントラク ト連携を色々試してる話
yudetamago
1
2.3k
Dapps開発におけるSoliidityのはまりどころ
yudetamago
3
2.4k
Other Decks in Programming
See All in Programming
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
360
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
310
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
120
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
7
1.2k
今、アーキテクトとして 品質保証にどう関わるか
nealle
0
200
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
110
atmaCup #23でAIコーディングを活用した話
ml_bear
4
710
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
140
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
350
NOT A HOTEL - 建築や人と融合し、自由を創り出すソフトウェア
not_a_hokuts
2
490
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Skip the Path - Find Your Career Trail
mkilby
0
71
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
300
The Pragmatic Product Professional
lauravandoore
37
7.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
260
Building Adaptive Systems
keathley
44
2.9k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Evolving SEO for Evolving Search Engines
ryanjones
0
140
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
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