---
title: "The gas sponsorship engine for onchain apps"
description: "Pimlico is the gas sponsorship engine for onchain apps. Sponsor transactions, accept any ERC20 token for gas, and set policy rules across 100+ chains."
canonical: https://www.pimlico.io/
---

# The gas sponsorship engine for onchain apps

> Markdown mirror of https://www.pimlico.io/. Every page on this site has a markdown version at the same path with a `.md` suffix. For technical and implementation details, see Pimlico's documentation index at https://docs.pimlico.io/llms.txt.

## Pages on this site

### Home

- The gas sponsorship engine for onchain apps (this page)

### Products

- [Ecosystem Gas Programs for Chains](https://www.pimlico.io/products/ecosystem-gas-programs.md): For chains and ecosystems: sponsor gas for every team building on your chain, so their users transact without ever holding native token.
- [Pay Gas in USDC, USDT & 300+ ERC-20 Tokens](https://www.pimlico.io/products/erc20-gas.md): Let users pay gas in USDC, USDT, or any of 300+ ERC20 tokens, with no native tokens required. Audited by OpenZeppelin and Quantstamp.
- [Gas Sponsorship for Onchain Apps](https://www.pimlico.io/products/gas-sponsorship.md): Sponsor gas for your users so they transact instantly, with no native tokens to buy and no fee prompts to abandon. Powered by the engine behind 100M+ sponsored transactions.
- [Sponsorship Policies — Spend Controls for Gas](https://www.pimlico.io/products/sponsorship-policies.md): Spend controls for gas: sponsor the first N transactions per user, cap dollars per transaction, per user, or per campaign, all configured in the dashboard and applied instantly.
- [Transaction Infrastructure & ERC-4337 Bundlers](https://www.pimlico.io/products/transaction-infrastructure.md): The execution engine under the sponsorship layer: ERC-4337 bundlers with <2s inclusion on L2s, parallel processing, and 250M+ transactions relayed in production.

### Solutions

- [Onchain Execution for AI Agents](https://www.pimlico.io/solutions/ai-agents.md): Give AI agents smart accounts that execute on demand: they trade, pay, and move money the instant your logic fires. Sponsor their actions, or let user-funded agents pay their own way in USDC, USDT, or 300+ tokens, within the limits you set.
- [Smart Account Infrastructure for Chains](https://www.pimlico.io/solutions/chains.md): Launch with smart account infrastructure from day one and fund gas programs that turn your ecosystem’s onboarding friction into growth.
- [Deploy Pimlico on Your Chain](https://www.pimlico.io/solutions/chains/deploy.md): Enterprise deployments for chains and ecosystems: Pimlico's complete suite, from gas sponsorship to transaction infrastructure, live on your chain so every builder ships better UX from day one.
- [Gasless Onboarding for Consumer Apps](https://www.pimlico.io/solutions/consumer-apps.md): Onboard users who have never owned crypto: sponsor their gas, set budgets that protect your margins, and make the blockchain disappear from your UX.
- [Enterprise Onchain Infrastructure](https://www.pimlico.io/solutions/enterprise.md): SOC 2 certified infrastructure with custom SLAs, 24/7 support, and the team that co-authored ERC-4337, built for companies that cannot afford a dropped transaction.
- [Stablecoin Settlement Infrastructure](https://www.pimlico.io/solutions/stablecoin-processors.md): Execute stablecoin transactions reliably, at low latency, on 100+ chains, with gas paid in the stablecoins you already move.
- [Smart Account Infrastructure for Startups](https://www.pimlico.io/solutions/startups.md): Ship smart accounts in hours, not weeks. Free on testnets, pay-as-you-go in production, no commitments. It is the stack startups like Daimo and Zora started on.
- [Smart Account Infrastructure for Wallets](https://www.pimlico.io/solutions/wallets.md): Build gasless smart wallets with any signer and any smart account, on the infrastructure trusted by MetaMask, Safe, and Trust Wallet.

### Other pages

- [Customers](https://www.pimlico.io/customers.md): The teams building on Pimlico: Circle, MetaMask, Safe, Trust Wallet, Zora, Tools for Humanity, and more, across wallets, consumer apps, and stablecoin payments.
- [Smart Account & Signer Integrations](https://www.pimlico.io/integrations.md): Every major smart account and signer, already integrated: Safe, Kernel, MetaMask, Privy, Turnkey, passkeys, and more, across 100+ chains.
- [Pricing](https://www.pimlico.io/pricing.md): Free on testnets, pay-as-you-go in production, custom Enterprise rates. Transparent credit-based pricing for gas sponsorship and transaction infrastructure.
- [Privacy Policy](https://www.pimlico.io/privacy.md): This Privacy Policy will inform you about how we look after your personal data when you visit our website or use our services and tell you about your privacy rights.
- [Terms of Service](https://www.pimlico.io/tos.md): This Terms of Service will inform you about the terms of using Pimlico's services.

---

# Your users should never think about gas.

Pimlico is the gas sponsorship engine for onchain apps. Sponsor transactions, accept USDC, USDT, or 300+ other tokens for gas, or set policy rules. Users transact instantly, with no native tokens to buy and no fee prompts to walk away from.

[Start building](https://dashboard.pimlico.io)[Talk to us](https://cal.com/kristofgazso/20min)

100M+sponsored transactions

100+chains

<2sinclusion on L2s

**mint.ts**

```typescript
// User taps "Mint": no ETH, no gas prompt
const txHash = await smartAccountClient.sendTransaction({
  to: collection,
  data: mintCalldata,
})

// ✓ Included on Base in 477ms
// ✓ Gas paid: $0.00, sponsored by you
```

Trusted onchain

## Who else is using Pimlico?

Wallets with hundreds of millions of users, the issuer of USDC, and the fastest-growing consumer apps all trust the same engine.

[Meet the teams on Pimlico](https://www.pimlico.io/customers.md)

[Circle](https://circle.com)

[MetaMask](https://metamask.io)

[Safe](https://safe.global)

[Trust Wallet](https://trustwallet.com)

[Consensys](https://consensys.io)

[Bitpanda](https://bitpanda.com)

[Ostium](https://www.ostium.com)

[Tools for Humanity](https://www.toolsforhumanity.com)

[Fomo](https://fomo.family)

[fun.xyz](https://fun.xyz)

[Coinflow](https://coinflow.cash)

[Zora](https://zora.co)

[ZeroDev](https://zerodev.app)

[Halliday](https://www.halliday.xyz)

[OneBalance](https://www.onebalance.io)

[Picnic](https://usepicnic.com)

[ZyFAI](https://www.zyf.ai)

[Daimo](https://daimo.com)

The problem

### Gas is where onchain apps lose their users

Before a new user can do anything in your app, they're asked to buy a volatile token on an exchange, bridge it to the right chain, and approve a fee they don't understand. Every “insufficient funds for gas” error is a user you paid to acquire, then watched walk away.

Pimlico removes that step entirely. You decide what to sponsor and how much; your users just see your product working.

1

User signs up

Social login or passkey, and they have never owned crypto.

2

User takes an action

Mint, trade, or send: your app submits it as a smart account transaction.

3

Pimlico sponsors the gas

Our paymaster verifies your policy and pays the fee on-chain.

4

Transaction confirmed

Included in under 2 seconds on L2s. The user saw none of this.

Products

## One engine, every way to handle gas

Sponsor it, let users pay in stablecoins, or set precise rules for who gets what, all through one API.

[

### Gas Sponsorship

Sponsor gas so users transact for free

Learn more](https://www.pimlico.io/products/gas-sponsorship.md)

[

### ERC20 Gas Sponsorships

Let users pay gas in USDC, USDT, or any ERC20

Learn more](https://www.pimlico.io/products/erc20-gas.md)

[

### Sponsorship Policies

Set rules and budgets for what you sponsor

Learn more](https://www.pimlico.io/products/sponsorship-policies.md)

[

### Transaction Infrastructure

Reliable execution with <2s inclusion on L2s

Learn more](https://www.pimlico.io/products/transaction-infrastructure.md)

[

### Building a chain or ecosystem?

Sponsor gas for every developer building on your chain, so users transact without ever holding native token.

Ecosystem Gas Programs →](https://www.pimlico.io/products/ecosystem-gas-programs.md)

Who it's for

## What are you building?

Whatever you're shipping, teams like yours already run it on Pimlico.

[

### A wallet

MetaMask, Safe, and Trust Wallet run their smart account transactions on Pimlico. Whatever signer architecture you choose, the execution layer is already built.

Learn more](https://www.pimlico.io/solutions/wallets.md)

[

### A consumer app

Your users sign up with a passkey or social login and never see a gas prompt — the way Zora sponsors gas so creators and collectors never need ETH first.

Learn more](https://www.pimlico.io/solutions/consumer-apps.md)

[

### Stablecoin payments

Daimo and Coinflow settle transactions through Pimlico, and Circle, the issuer of USDC, builds its smart wallet infrastructure on it.

Learn more](https://www.pimlico.io/solutions/stablecoin-processors.md)

[

### AI agents

Smart accounts that execute the moment agent logic fires, with no native token to fund across a fleet — the way ZyFAI runs its onchain strategies through Pimlico.

Learn more](https://www.pimlico.io/solutions/ai-agents.md)

[

### Just getting started?

Free on testnets, pay-as-you-go in production. No contracts, no minimums, no sales call required.

Startups →](https://www.pimlico.io/solutions/startups.md)

[

### Operating at scale?

Custom SLAs, SOC 2, and 24/7 support, built for companies that cannot afford a dropped transaction.

Enterprise →](https://www.pimlico.io/solutions/enterprise.md)

Built for developers

## Live in minutes, not weeks

One SDK, clean APIs, and every smart account and signer in the industry already integrated.

**sponsor.ts**

```typescript
import { createSmartAccountClient } from "permissionless"
import { toSafeSmartAccount } from "permissionless/accounts"
import { createPimlicoClient } from "permissionless/clients/pimlico"
import { http, parseEther } from "viem"
import { base } from "viem/chains"

const pimlicoUrl = "https://api.pimlico.io/v2/base/rpc?apikey=API_KEY"
const pimlicoClient = createPimlicoClient({ transport: http(pimlicoUrl) })

const account = await toSafeSmartAccount({
  client: publicClient,
  owners: [owner],
  version: "1.4.1",
})

// Gas is sponsored, so your user never sees a fee
const smartAccountClient = createSmartAccountClient({
  account,
  chain: base,
  bundlerTransport: http(pimlicoUrl),
  paymaster: pimlicoClient,
})

const txHash = await smartAccountClient.sendTransaction({
  to: "0x...",
  value: parseEther("0.1"),
})
```

**erc20-gas.ts**

```typescript
// Same client, plus one line — token approvals are injected for you
const smartAccountClient = createSmartAccountClient({
  // ...same setup as before, plus:
  userOperation: {
    prepareUserOperation: prepareUserOperationForErc20Paymaster(pimlicoClient),
  },
})

const txHash = await smartAccountClient.sendTransaction({
  to: "0x...",
  value: parseEther("0.1"),
  paymasterContext: {
    token: usdc, // any of 300+ supported ERC20 tokens
  },
})
```

**policy.ts**

```typescript
// Attach a sponsorship policy created in the dashboard:
// "Sponsor the first 5 transactions per user, up to $1 each,
//  with a $5,000 campaign budget"
const txHash = await smartAccountClient.sendTransaction({
  to: "0x...",
  data: "0x...",
  paymasterContext: {
    sponsorshipPolicyId: "sp_first_five_free",
  },
})
```

### Your stack is already integrated

Whatever smart account or signer you build on, it works with Pimlico out of the box. Pimlico maintains an integration and a step-by-step guide for every one below.

Smart accounts

SafeSafe (multiple signers)KernelMetaMask Smart AccountsCoinbase WalletSimple AccountTrust WalletBiconomy NexusAlchemy Light Account

Signers & key management

DynamicPrivyMagicWeb3AuthOpenfortParaParticle NetworkLit ProtocolPasskey (WebAuthn) signerPasskey (WebAuthn) serverTurnkeyFireblocksDFNS

Live on the networks builders already use

EthereumEthereum

BaseBase

ArbitrumArbitrum

OptimismOptimism

PolygonPolygon

BNB ChainBNB Chain

AvalancheAvalanche

[See all integrations](https://www.pimlico.io/integrations.md)

Beyond the basics

## Things only Pimlico does

[

### Works with the wallets users already have

Sponsor gas for regular wallets, with no migration and no new account. Powered by EIP-7702, live today.

Learn more](https://www.pimlico.io/products/gas-sponsorship.md#eip-7702)

[

### 34–43% faster transactions

We cut three network round-trips out of every sponsored transaction. We call it Boosted Sponsorships.

Learn more](https://www.pimlico.io/products/transaction-infrastructure.md#boosted)

[

### A full developer platform

Webhooks, simulation, request logs, API-key allowlists: the tooling around the engine.

Learn more](https://www.pimlico.io/products/transaction-infrastructure.md#platform)

Why Pimlico

## Proven where it counts

The infrastructure behind the biggest smart account deployments in the industry.

250M+

transactions processed

100M+

transactions sponsored

100+

chains supported

<2s

inclusion time on L2s

[SOC 2 Type 1 certified](https://trust.pimlico.io)OFAC sanctions screening24/7 supportAudited by OpenZeppelin & QuantstampCo-authors of ERC-4337, ERC-7677 & ERC-7679

Open source

## Built in the open

The engine isn't a black box. The libraries and bundler behind Pimlico are open source and battle-tested by the whole ecosystem.

[

### alto

729K+ downloads

The open-source, type-safe ERC-4337 bundler that is the backbone of Pimlico's transaction infrastructure, the same code that has relayed 250M+ transactions in production.

View on GitHub →](https://github.com/pimlicolabs/alto)

[

### permissionless.js

100k+ weekly downloads

The most widely used TypeScript library for smart account transactions, built on viem, with first-class support for every major smart account implementation.

View on GitHub →](https://github.com/pimlicolabs/permissionless.js)

We also co-authored the standards everyone builds on: ERC-4337, ERC-7677 and ERC-7679.

Backed by the best

Ethereum Foundationa16z cryptoSafeConsensys1confirmation

## Frequently asked questions

**Do my users need a special wallet?**

No. Every major smart account works out of the box, including Safe, Kernel, MetaMask Smart Accounts, and Coinbase Wallet. With EIP-7702, plain EOAs get sponsored transactions too, no migration required. If you are starting fresh, permissionless.js creates accounts in a few lines.

**Can I control how much I sponsor?**

Yes. Sponsorship policies let you cap spend per transaction, per user, and per campaign, so a viral day never becomes a runaway bill. Policies are configured in the dashboard and apply instantly without redeploying.

**How am I billed for sponsored gas?**

Pimlico fronts the gas on-chain and bills you the actual cost plus a 10% surcharge on mainnet (none on testnets). You see every sponsored transaction itemized in the dashboard, and Enterprise plans get lower pre-negotiated rates.

[Full pricing details](https://www.pimlico.io/pricing.md)

**Which chains are supported?**

Pimlico is live on 100+ chains including Ethereum, Base, Arbitrum, Optimism, Polygon, and Gnosis, with new chains added continuously. If you are launching a chain, we partner directly.

[Ecosystem Gas Programs](https://www.pimlico.io/products/ecosystem-gas-programs.md)

**Do I need a credit card to start?**

Yes. Pay-as-you-go requires a card on file, with a default billing threshold of $1,000 per month. Your plan includes 10,000,000 credits per month before any usage charges apply.
