Gas Abstraction for EOAs (experimental)
Gas Abstraction enables existing EOA accounts to execute transactions without needing to have special tokens to pay for the transaction gas; for example ETH on Ethereum. This solution provides wallet developers with a toolkit to integrate gas abstraction using WalletKit.
How it works
When your wallet receives a wallet_sendTransaction
request, the wallet will automatically sponsor the transaction for the user using the Reown paymaster. Native gas tokens are not needed.
This works by upgrading the EOA to a smart account that supports verifying paymasters and sending a sponsored User Operation. Specifically, a 7579 modular Safe smart account is deployed and delegated to in a 7702 transaction. The smart account has the same address as the EOA, and the EOA is the only signer on the account.
Get Started
FAQ
What are the available networks for Gas Abstraction?
Gas Abstraction is available on any network where 4337 bundlers and paymasters are available.
Click here to see what networks the Reown paymaster supports for seamless operation.
What types of paymasters are supported?
Only verifying paymasters are currently supported (by default the Reown paymaster). ERC-20 paymasters are not yet supported.
What are the limitations?
- Accounts that already have 7702 delegations will be rejected and are not supported.
- Because delegation cannot be removed (only changed), the account will need to indefinitely support EIP-1271 signature creation & validation. This is because apps assume if an account has code, that it is a smart account and it will use EIP-1271 to validate the signature.
What apps does this support?
Any app that supports smart contract accounts. Specifically, EIP-1271 must now be used for signing.
Are more smart account features available or just gas abstraction?
In the future more features will be supported such as:
- Sending user operations directly instead of transactions
- Smart sessions