For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bridge G from Gravity L1 to Ethereum

Move native G from Gravity Mainnet (L1) to ERC-20 G on Ethereum through the Chainlink CCIP-based G bridge: architecture, contracts, fees and timing.

The Gravity L1 → Ethereum G bridge turns native G on Gravity Mainnet (L1, chain ID 127001) into ERC-20 G on Ethereum at a 1:1 ratio. It uses Chainlink CCIP to carry the bridge message. You sign one transaction on Gravity L1 and pay the CCIP fee in native G; the ERC-20 G is minted to your Ethereum address automatically, with no transaction needed on Ethereum.

The opposite direction, Ethereum → Gravity L1, uses the canonical bridge built on the Native Oracle. See How to Get G.

Web interface: a bridge UI for this direction will be published soon. Until then, call the bridge contract directly (see For developers).

How it works

Gravity L1                                   Chainlink CCIP                 Ethereum
user ──bridge(recipient, amount)──► GravityGSender
          value = amount + fee        │  amount ──► 0x…dEaD (unspendable)
                                      │  fee ─────► CCIP Router ──► OnRamp
                                      │                               │ verify + execute
                                      ▼                               ▼
                               GDeposited event              OffRamp ──► Router ──► EthereumGMinter
                                                                                        │ mint(recipient, amount)
                                                                                        ▼
                                                                                  G ERC-20 (0x9C7B…0649)
  1. Deposit on Gravity L1. You call bridge(recipient, amount) on GravityGSender and send amount + fee in native G. In the same transaction the contract assigns a deposit ID, hands a data-only message to the CCIP Router (paying exactly the CCIP fee), sends amount to 0x000000000000000000000000000000000000dEaD, and refunds any overpayment. If any step fails, the whole transaction reverts and you keep your G.

  2. CCIP delivery. Chainlink CCIP waits for Gravity L1 finality, verifies the message and executes it on Ethereum. Gravity L1 has fast BFT finality, so this usually takes seconds.

  3. Mint on Ethereum. EthereumGMinter accepts the message only from the CCIP Router, only with Gravity's CCIP chain selector, and only from the GravityGSender address. It checks that the deposit ID was not credited before, then calls mint(recipient, amount) on the G ERC-20 token.

The message carries (version, depositId, recipient, amount). Each deposit ID can be credited only once, so a message can never mint twice.

Contracts

Both bridge contracts are verified on their explorers.

Chainlink CCIP lane parameters

Network
EVM chain ID
CCIP chain selector
CCIP Router

Gravity Mainnet (L1)

127001

2988178761202034333

0x492641F648a4986844848E0beFE66D14817bCE34

Ethereum

1

5009297550715157269

0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D

A CCIP chain selector is not an EVM chain ID. See the Chainlink CCIP directory for Gravity Mainnet.

Fees and timing

  • CCIP fee: paid in native G on Gravity L1, in addition to the amount you bridge. The fee does not depend on the amount; it mostly covers execution on Ethereum, so it moves with Ethereum gas prices. Read the current fee with quoteBridge(recipient, amount) right before you send. Any value above amount + fee is refunded in the same transaction.

  • Gas on Gravity L1: a direct call to bridge uses roughly 370,000 gas.

  • Time to arrive: usually seconds to a few minutes. The first mainnet transfer was minted on Ethereum 11 seconds after the Gravity transaction.

  • Tracking: the GDeposited event contains the CCIP message ID. Look it up on the CCIP Explorer at https://ccip.chain.link/msg/<messageId>. On Ethereum, EthereumGMinter emits GCredited(depositId, recipient, amount, messageId) when the G is minted.

Before you bridge

  • Use a recipient you control on Ethereum. The recipient is an Ethereum address. A smart-contract wallet (for example a Safe) at some address on Gravity L1 is not necessarily deployed, or controlled by you, at the same address on Ethereum.

  • Delivery failures are retried, not lost. If execution on Ethereum fails (for example while the bridge is paused or a configured limit is reached), CCIP records the message as failed and it can be executed again once the cause is resolved. The deposit is credited exactly once.

  • Deposits can be rejected up front. bridge reverts, with nothing sent, when the bridge is paused, when the amount is zero, or when the deposit would exceed the configured total limit.

Security model

  • Message authenticity relies on Chainlink CCIP. The minter accepts only messages delivered by the Ethereum CCIP Router, from Gravity's chain selector, sent by the GravityGSender contract. A message cannot be forged by sending to CCIP from another contract.

  • No custody of user funds. GravityGSender holds no G after a deposit; the minter has no withdrawal function and can only mint against authenticated deposits.

  • Administration. Each contract is owned by a 3-of-6 Safe multisig (0xeF936B0CaaAdfb439dd24F14411949694aB3C507 on Gravity L1, 0xbD6e434dB90FD8AD4E28d85C133AD34cA6fbfB6D on Ethereum). The owners can pause the bridge, adjust its total deposit and mint limits and the destination gas limit. They cannot move user funds or mint without a deposit. The sender's destination minter is fixed after the first deposit, and ownership cannot be renounced.

  • Limits. The bridge has adjustable cumulative limits on each side, and the G ERC-20 applies its own rate limit to the minter. These values change over time and are readable on-chain (totalDepositLimit, totalMintLimit, and mintingCurrentLimitOf(minter) on the token).

Supply accounting

Bridged G is not burned by the protocol on Gravity L1: it is sent to 0x…dEaD, an address no one can spend from, and an equal amount of ERC-20 G is newly minted on Ethereum. Native G held at 0x…dEaD should be treated as out of circulation. On-chain totals for reconciliation: totalDeposited on GravityGSender and totalMinted on EthereumGMinter.

For developers

Example with Foundry cast, bridging 10 G:

The 10% fee buffer covers fee movement between the quote and inclusion; the unused part is refunded. For more examples and the full event list, see the Gravity Skill.

Last updated

Was this helpful?