fuel-core icon indicating copy to clipboard operation
fuel-core copied to clipboard

Allow users to pay for gas with alternate assets

Open Voxelot opened this issue 1 year ago • 4 comments

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

Voxelot avatar Jun 09 '23 20:06 Voxelot

Related https://github.com/FuelLabs/fuel-vm/issues/164

xgreenx avatar Jun 13 '23 17:06 xgreenx

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.

SilentCicero avatar Sep 21 '23 12:09 SilentCicero

See: https://github.com/orgs/FuelLabs/projects/27/views/3?pane=issue&itemId=37661556

SilentCicero avatar Sep 21 '23 12:09 SilentCicero

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.

bvrooman avatar Dec 01 '23 01:12 bvrooman