How does Peaze provide gas abstraction?

Peaze allows users to pay for gas without holding any native gas tokens (ETH, MATIC, etc.). This is achieved with permit and meta-transactions.

For example, users can pay for a transaction entirely in USDC without any ETH in their wallet. The user passes a lump-sum of USDC to the Peaze Relayer who then pays for the transaction’s gas using its balance of ETH. This enables users to fund any transaction on any chain with a single balance of USDC on their chain of choice.

Let’s say a user wants to mint an NFT on Optimism with their balance of USDC on Polygon. Let’s say the mint costs 100 USDC, and the gas for this entire process costs an ETH equivalent of 5 USDC. The user will pass 105 USDC to the Peaze Relayer. The Peaze Relayer then pays for the gas using its balance of ETH having been compensated by the user in USDC.

How does the Peaze Relayer work?

The Peaze Relayer receives transaction requests via API requests. These API requests contain all of the data necessary for the server to construct an on-chain transaction that calls the Peaze Relayer Smart Contract. The Peaze Relayer EOA has a balance of gas tokens, which is used to send the transaction that calls the Peaze Relayer Smart Contract.

Users do not need gas tokens for transactions because the Peaze Relayer EOA pays for the transaction’s gas on their behalf.

To dive deeper, please read the relayer section here.