The PrepaidGas protocol revolutionizes the Ethereum infrastructure by introducing a decentralized, permissionless Gas futures market. It empowers users, particularly L2s, CEXs, to buy ETH Gas in advance, locking in costs and ensuring cost predictability. This marks a significant advancement for the Ethereum community, aiming to make Gas expenses manageable and predictable
This is an on-chain order book involving Purchasers and Suppliers:
- A Purchaser creates a Gas order, specifying details such as the required amount of gas, timeframe, prices they're willing to pay, and guarantees requested from Suppliers.
- Suppliers may accept orders, locking in some value as a guarantee to ensure they fulfill the promise of providing gas in the future, regardless of the price.
- When the order's time arrives, the Purchaser signs the message with transaction details and sends it to our validators, making it publicly available.
- The Supplier receives the data and executes the ERC-2771 transaction on behalf of the Purchaser.
- If the Supplier fails to execute the transaction within the "execution window," anyone can execute it and receive a share of the guarantee provided by the Supplier.