Custom Gas Tokens for Appchains: A Comprehensive Guide

·

Custom Gas Tokens empower Appchains to deploy with any ERC-20 token as their native gas token, streamlining fee payments and enhancing token utility. This flexibility allows projects to:

👉 Discover how custom gas tokens revolutionize blockchain ecosystems


Native Gas Tokens vs. Custom Gas Tokens

Default Configuration:
Appchains initially accept ETH deposits from Base as the native gas token.

Custom Configuration:
Appchain operators can specify any Base ERC-20 token during deployment. When deposited:


Technical Requirements for Custom Gas Tokens

Token Specifications

Requirement CategoryDetails
NetworkMust be deployed on Base mainnet or Sepolia
Token StandardFully compliant ERC-20
DecimalsExactly 18 decimal places
MetadataName ≤32 bytes, Symbol ≤32 bytes
Token MechanicsNon-rebasing, no transfer fees, non-yield-bearing
Transfer LogicNo callbacks; transfers must not trigger side effects

Implementation Process

  1. Deployment
    Appchain contracts are initialized with the custom token's Base address.
  2. Deposits
    Users lock tokens on Base, triggering minting on the Appchain.
  3. Withdrawals
    Burning tokens on Appchain unlocks them on Base.
  4. Fee Payment
    All transactions automatically use the custom token for gas.

Key Considerations

Wrapped Gas Token Implementation

The WETH predeploy (0x420...6) serves as the ERC-20 wrapper for your custom gas token. Key features:

Fee Mechanics

Important notes about gas economics:

Migration Limitations

Critical: Chains using ETH as gas cannot transition to custom tokens post-launch due to:


Frequently Asked Questions

Can I use any ERC-20 token as a gas token?

No—tokens must meet all technical requirements listed above, including 18 decimals and no special transfer logic.

How do users acquire the custom gas token?

Tokens must be obtained through:

What happens if the token price fluctuates dramatically?

Chain operators bear exchange rate risk as:

Are there gas savings with custom tokens?

Not inherently—gas costs mirror Base's ETH-based fee market. The primary benefits are token utility and user experience.


👉 Explore real-world implementations of custom gas tokens

For technical specifications, refer to the Custom Gas Token Experimental Specs