fuel-core
fuel-core copied to clipboard
Allow users to pay for gas with alternate assets
Devise a method to allow users to pay fees without using the base asset (eth). For example, the network could have the ability to configure a set of approved alternate assets at a fixed conversion rate (i.e eth/usdc rate). If the transaction contains an output for the block producer address, they may set the gasPrice
to zero and have their tx accepted if the producer determines the converted fee amount is sufficient to pay for the amount of gas on the transaction.
cc @SilentCicero
Related https://github.com/FuelLabs/fuel-vm/issues/164
For this, I'd keep the design simple. All txs are paid for in the base asset, but a transaction can allow native meta-transactionality, allowing another party to pay a fee payer.
This way we keep the base asset system simple for fee payments.
See: https://github.com/orgs/FuelLabs/projects/27/views/3?pane=issue&itemId=37661556
I'm starting an RFC to dive deeper into possible proposals, including some existing research. See the living document here. This document is still immature and sparse, but I expect to be putting more details into it shortly, including thoughts on implementation.