Gasless Onboarding

Letting a new user act before they own the native coin, usually via a paymaster or sponsored transaction.

Basically

Gasless onboarding lets you use a wallet or blockchain app without first buying the token that pays network fees. Someone else pays those fees for you.

Key Takeaways

  • Gasless onboarding removes the biggest hurdle for new crypto users: buying native gas tokens before any on-chain action. A third party pays transaction fees behind the scenes, so the app feels like a traditional web application.
  • Gasless onboarding can use paymasters (ERC-4337), meta-transactions (EIP-2771), relayer networks, or application-sponsored gas. Each approach balances complexity, decentralisation, and cost differently.
  • Some systems remove the gas problem entirely. Spark uses a fundamentally different transaction model with no gas at all, so it does not need sponsorship workarounds.

What Is Gasless Onboarding?

Gasless onboarding lets new users interact with a blockchain-based wallet or dApp without first buying the chain's native token for gas fees. A third party, such as the application, a relayer, or a paymaster contract, pays transaction fees for you, so the first interaction feels like signing up for a regular web service.

The usual setup has several steps: create a wallet, learn about seed phrases, join an exchange, buy ETH or SOL, transfer it, and only then complete an action. Gasless onboarding turns this into one step: start using the app.

The Chicken-and-Egg Problem

Most blockchains charge gas for every action, including sending a token, approving a contract, or claiming an airdrop. You must already hold the chain's native token, but getting it usually needs an on-chain transaction or an exchange purchase and withdrawal. The result is a loop: you need gas to act, but you must act to get gas.

Users with only a stablecoin such as USDC can see their balance but cannot move it. Bridging assets from another chain also costs gas on the source chain, so the problem repeats. Industry reports say crypto onboarding flows commonly lose 60 to 80 per cent of users, with a significant share leaving before their first transaction.

The users crypto needs most are hit hardest: newcomers, non-technical users, and people in regions where buying native tokens through exchanges is impractical. Gasless onboarding exists to remove this specific bottleneck.

How It Works

No single standard defines gasless onboarding. Several complementary approaches solve the problem at different layers of the stack.

Paymasters (ERC-4337)

ERC-4337 account abstraction introduced Ethereum's most comprehensive gasless solution: the paymaster model. Users submit UserOperations, which are pseudo-transactions, to a dedicated mempool, and a bundler packages them into real transactions for a singleton EntryPoint contract. The paymaster contract decides whether to sponsor the gas and pays from its own deposit if it agrees.

The paymaster interface centres on two methods. One checks sponsorship, and the other settles the cost.

The EntryPoint calls validatePaymasterUserOp during validation to check whether the paymaster will pay. After execution, postOp handles settlement: the paymaster can deduct ERC-20 tokens from the user, apply a policy limit, or absorb the cost as a business expense.

ERC-4337 adds overhead, roughly doubling to tripling gas use compared with a standard externally owned account (EOA) transaction. A simple transfer costs around 21,000 gas from an EOA but approximately 100,000 gas through the ERC-4337 pipeline. The overhead is negligible on Layer 2 networks, where base gas already costs fractions of a cent, but it can be meaningful on Ethereum mainnet.

The account abstraction deep dive explains ERC-4337 architecture further. Read it for more detail on the design.

Meta-Transactions (EIP-2771)

Meta-transactions predate ERC-4337 and offer a simpler approach. You sign a message describing the intended action without submitting a transaction, and a gas relay wraps that message in a real transaction and submits it through a Trusted Forwarder contract. The recipient contract reads the original signer's address from the calldata instead of relying on msg.sender.

EIP-2771 is simpler to implement than ERC-4337 because it needs no bundler infrastructure. Every target contract must integrate forwarder awareness, and a malicious forwarder could forge the sender address, so trust configuration must be correct.

Relayer Networks

Relayer networks supply the infrastructure that makes meta-transactions practical at scale. Services such as Biconomy, Gelato, and OpenGSN (Gas Station Network) run decentralised or managed relay infrastructure, so each application need not run its own relay server.

These services usually offer SDKs that hide relay complexity behind a few API calls. The application integrates the SDK, sets sponsorship policies for which transactions to subsidise, daily limits, and per-user caps, and the relay pays gas behind the scenes. Major adopters include Curve Finance for gasless BTC deposits and various gaming and NFT platforms.

Application-Sponsored Gas

Application-sponsored gas is the simplest approach: a backend service pays gas for users. It can use any of the mechanisms above or submit transactions from a server-controlled wallet. Many teams treat gas sponsorship as a customer acquisition cost rather than operational overhead, much as traditional SaaS products absorb credit card processing fees during free trials.

Gasless Onboarding Across Ecosystems

Different blockchains handle gas at different layers of the stack. Their approaches range from application-level workarounds to protocol-level solutions.

Ethereum

Ethereum offers the richest set of gasless onboarding tools, mainly through account abstraction, and ERC-4337 paymasters provide the most flexible framework. Coinbase, Alchemy, thirdweb, Biconomy, and Pimlico offer hosted paymaster infrastructure. The Pectra upgrade activated EIP-7702 in May 2025, allowing existing EOAs to delegate temporarily to smart contract wallet implementations during a transaction and bringing gasless capabilities to existing addresses without wallet migration; mainnet recorded over 11,000 EIP-7702 authorisations within the first week of Pectra's launch.

The Pectra wallet impact analysis examines the upgrade's effect on wallets. Read it for more detail.

Solana

Solana builds fee sponsorship into transactions. Every transaction has a fee_payer field that can name any account separately from the transaction signer, so a service can sign as fee payer while you sign for the action. Your wallet creates the transaction and sends it to a fee payer service, which adds its signature to cover gas and returns it for your final signature before broadcast includes both signatures.

Circle's Gas Station service uses this mechanism for policy-based sponsorship, with configurable conditions, daily limits, and transaction size caps. You can also pay fees in stablecoins (USDC or USDT) instead of SOL, while the fee payer handles the on-chain conversion.

Spark

Spark takes the most radical approach and removes gas entirely. Its off-chain transaction model uses virtual UTXOs rather than an on-chain execution environment, so there is no gas fee to pay, subsidise, or abstract away. You can receive and send Bitcoin or stablecoins from your first interaction without acquiring a separate fee token.

Spark offers a fundamentally different solution to the onboarding problem. It removes the concept of gas instead of building increasingly sophisticated ways to pay it for you. For applications with embedded wallets, that means one fewer infrastructure component to manage and one fewer failure mode to handle.

The embedded wallet UX research explores how embedded wallets reduce onboarding friction. It offers a deeper look at the topic.

New User Onboarding

New user onboarding is the primary use case. You download a wallet app, receive stablecoins from a friend or fiat on-ramp, and start transacting immediately, with no exchange sign-up, token purchase, or bridge transaction. Coinbase Smart Wallet launched in June 2024 and sponsors gas by default on Base and several other networks, reporting significant weekly account creation volumes.

Stablecoin Payments

Stablecoin payment applications need gasless onboarding. A merchant accepting USDC cannot expect you to buy ETH first, so the application sponsors the transfer gas and often embeds a small fee in the payment amount. Gas sponsorship makes stablecoin payments competitive with traditional card rails from a UX perspective.

Gaming and Consumer Apps

Games and consumer applications have the least tolerance for onboarding friction. Players expect to play immediately, not complete a multi-step token acquisition flow. Gasless transactions let games absorb gas costs in their operating budget, just as mobile games absorb app store payment processing fees.

Agentic and Automated Wallets

AI agent wallets are emerging and make gasless onboarding even more important. Autonomous agents must transact without human intervention to acquire gas tokens. Several infrastructure providers now offer gasless agent wallet services, extending the pattern beyond human users entirely.

The Economics of Gas Sponsorship

Gas sponsorship costs money. Each application must decide whether better user conversion and retention justify subsidising fees.

Full sponsorship is economically trivial on Layer 2 networks with sub-cent gas costs. Coinbase offers developers building on Base up to $15,000 in gas credits as part of its gasless campaign. Ethereum mainnet costs more, so applications tend to be selective and sponsor only high-value actions such as stablecoin transfers or first-time interactions.

Conversion is the strongest economic argument for gasless onboarding. Applications that remove gas friction at onboarding report meaningfully higher user retention than flows requiring upfront token acquisition. For many teams, gas costs are a rounding error next to the cost of losing a user who never completes a first transaction.

Sybil and Abuse Risks

Free gas for users also means free gas for attackers. Without rate limiting and policy controls, attackers can exploit gasless onboarding for spam transactions, Sybil attacks, or gas wars subsidised at the application's expense. Paymasters and relayer services reduce these risks with configurable policies: per-user caps, daily limits, whitelisted contract interactions, and transaction size thresholds.

Centralization and Trust

Most gasless onboarding solutions add a trusted intermediary: the relayer, paymaster operator, or application backend. Users cannot transact if the sponsor goes offline unless they acquire gas another way. The dependency can undermine the censorship resistance that blockchains are designed to provide.

Gas Overhead

ERC-4337 and meta-transaction patterns add computational overhead to every transaction. Extra contract calls for validation, signature verification, and paymaster settlement increase total gas use, and someone pays that cost even when you do not. On Ethereum mainnet, the overhead can be significant: a simple native transfer costing 21,000 gas can cost approximately 100,000 gas through the ERC-4337 pipeline.

Security Surface

Misconfigured trusted forwarders in EIP-2771 can forge the original sender address. Paymaster contracts hold deposits that attract attackers, and session keys for pre-authorised gasless flows widen the attack surface if their permissions are too broad. Every gasless mechanism adds components that must be secured and audited.

Sustainability

Gas sponsorship is ultimately a subsidy. Applications need a long-term plan: keep costs low enough to absorb indefinitely, which is viable on L2s, move users to self-paid gas over time, or recover the cost through fees elsewhere in the product. An application that exhausts its gas budget without a sustainable path creates a worse user experience when the subsidy ends abruptly.

The glossary entry is for informational purposes only and is not financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms