bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 23쪽 중 9쪽
loys Safe proxies (`createProxyWithNonce`) |
| CompatibilityFallbackHandler | `0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99` | Default fallback handler (EIP-1271, token receivers) |
| MultiSend | `0x38869bf66a61cF6bDB996A6aE40D5853Fd43B526` | Batch multiple calls in one Safe tx |
| MultiSendCallOnly | `0x9641d764fc13c8B624c04430C7356C1C7C8102e2` | Batch `CALL`-only txs (no delegatecall) |
| CreateCall | `0x9b35Af71d77eaf8d7e40252370304687390A1A52` | Deploy contracts from within a Safe |
| SignMessageLib | `0xd53cd0aB83D845Ac265BE939c57F53AD838012c9` | On-chain EIP-1271 message signing |
| SimulateTxAccessor | `0x3d4BA2E0884aa488718476ca2FB8Efc291A46199` | `staticcall` tx simulation |
{% hint style="info" %}
On Gravity (mainnet and Longevity testnet), point user Safe proxies at the **SafeL2** singleton (`0x29fc…0C762`) rather than the L1 `Safe` — the L2 variant emits the events indexers and the Safe Transaction Service rely on.
{% endhint %}
{% hint style="warning" %}
**Hosted Safe UI:** [`safe.gravity.xyz`](https://safe.gravity.xyz) currently lists Alpha L2 and Gravity Mainnet (L1); Longevity testnet (`7771625`) is **not** in that UI. Create and execute Safes on testnet via Safe SDK, Protocol Kit, or Foundry/`cast` against the addresses above.
{% endhint %}
## Bridged asset tokens
Deployed 2026-08-11 at the **same addresses as mainnet** (deterministic CREATE2 via CreateX). Like on mainnet, supply is 0 and no mint/burn roles are configured until the bridge wire-up completes — on testnet these exist for bridge-partner integration testing.
| Token | Address | Decimals | Standard |
| ------------------------------- | -------------------------------------------- | -------- | ----------------------------- |
| USDC.e — Bridged USDC (Gravity) | `0x979c024b381E25a093b8B4CEb06e74B8140664ff` | 6 | Circle FiatToken v2.2 (proxy) |
| USDT.e — Bridged USDT (Gravity) | `0x06Fd3e67231baea179676c490482372F7Fb4A3f2` | 6 | Chainlink BurnMintERC20 |
| WETH.e — Bridged WETH (Gravity) | `0x9Da9C5b2CBf7dcC773071338A6480e0E5FDee177` | 18 | Chainlink BurnMintERC20 |
## Verify before you hardcode
Confirm an address has code before relying on it:
```bash
cast code 0xcA11bde05977b3631167028862bE2a173976CA11 --rpc-url https://testnet-rpc.gravity.xyz
```
A non-empty result means the contract is live; an empty `0x` means it is not deployed yet.
## See also
* [Deployed Contracts (Mainnet L1)](/developer-resources/deployed-contracts) — the same preinstalls on Gravity Mainnet (`127001`).
* [Gravity Longevity Testnet (L1)](/gravity-networks/l1-longevity-testnet) — network connection parameters and faucet.
* [Token Contracts on Gravity](/the-g-token/token-contracts) — canonical ERC-20 list (G, wG, …).
# Gravity Skill
Official Agent Skill that teaches AI coding tools how to build on Gravity.
The **Gravity Skill** is an official [Agent Skill](https://docs.claude.com/en/docs/claude-code/skills) that loads Gravity's chain knowledge into your AI coding assistant on demand — network params, the system-contract address map, the native on-chain oracle, the cross-chain G token bridge, safe on-chain randomness, and the canonical EVM preinstalls.
It's written in the standard [Agent Skills](https://github.com/anthropics/agent-skills) (`SKILL.md`) format, so any agent that understands skills — **Claude Code, Cursor, Codex, and 50+ others** — can use it. Source: [Galxe/gravity-skills](https://github.com/Galxe/gravity-skills).
## Install
The easiest way is the [`skills`](https://github.com/vercel-labs/skills) CLI, which installs into whichever agent you use (Claude Code, Cursor, Codex, OpenCode, Cline, Copilot, and more):
```bash
npx skills add https://github.com/Galxe/gravity-skills
```
Then ask your agent anything about building on Gravity and it loads the skill on demand. Re-run `npx skills update` to pull the latest.
{% hint style="info" %}
**Claude Code plugin** — add the marketplace and install:
```
/plugin marketplace add Galxe/gravity-skills
/plugin install gravity@gravity-skills
```
**Manual** — point any `SKILL.md`-aware agent at the [`skills/gravity/`](https://github.com/Galxe/gravity-skills/tree/main/skills/gravity) directory, or copy it into your agent's skills folder.
{% endhint %}
## What it covers
| Skill | What it covers |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `gravity` | Core reference for writing, deploying, and integrating smart contracts on Gravity L1: network parameters, the system-contract address map, the native oracle ABI, the cross-chain G token bridge (including a copy-paste `cast` permit recipe), safe on-chain randomness, and the canonical EVM preinstalls (Multicall3, Permit2, CreateX, ERC-4337). |
Each skill uses progressive disclosure: a short `SKILL.md` entry point that links into focused `references/` docs and runnable `examples/` (e.g. `OracleConsumer.sol`, `RandomnessConsumer.sol`, and the G-bridge walkthrough).
## Sources of truth
Addresses and ABIs in the skill are distilled from the canonical Gravity repositories. When in doubt, defer to:
* Core system contracts: [Galxe/gravity\_chain\_core\_contracts](https://github.com/Galxe/gravity_chain_core_contracts)
* This documentation site: [docs.gravity.xyz](https://docs.gravity.xyz)
{% hint style="warning" %}
Addresses are load-bearing. The skill instructs agents to copy hex addresses verbatim and to surface `TBA` / `blocked` statuses rather than inventing values.
{% endhint %}
## See also
* [Deployed Contracts (EVM Preinstalls)](/developer-resources/deployed-contracts) — the canonical addresses the skill references.
* [System Contracts](/developer-resources/mainnet) — Gravity's system runtime and bridge contracts.
* [Gravity Mainnet (L1)](/gravity-networks/l1-mainnet) — network connection parameters.
# System Contracts
System and bridge contract addresses on Gravity Mainnet (L1).
{% hint style="info" %}
The addresses on this page are for **Gravity Mainnet (L1, chain ID `127001`)**. For the legacy **Gravity Alpha Mainnet (L2, Arbitrum Nitro, chain ID `1625`)** rollup contracts (rollup, inbox, outbox, sequencer, gateways), see [Gravity Alpha Mainnet (L2) Contracts](/legacy-alpha-mainnet-l2/mainnet).
{% endhint %}
Gravity L1 system runtime contracts live at fixed, well-known addresses in the `0x1625F0000`–`0x1625F5xxx` range. They cannot be re-deployed; adding a new system contract requires a hardfork.
## System runtime contracts
### Consensus engine (`0x1625F0xxx`)
| Address | Contract | Purpose |
| ------------- | ------------ | -------------------------------------------------- |
| `0x1625F0000` | SystemCaller | Block prologue, NIL blocks, system-initiated calls |
| `0x1625F0001` | Genesis | Chain initialization (active only at genesis) |
### Runtime configurations (`0x1625F1xxx`)
| Address | Contract | Purpose |
| ------------- | ------------------------ | ----------------------------------------------------- |
| `0x1625F1000` | Timestamp | On-chain microsecond-precision time |
| `0x1625F1001` | StakeConfig | Staking parameters (lockup, minimum stake, …) |
| `0x1625F1002` | ValidatorConfig | Validator parameters (bond range, unbonding delay, …) |
| `0x1625F1003` | RandomnessConfig | DKG threshold parameters |
| `0x1625F1004` | GovernanceConfig | Voting threshold, proposal stake |
| `0x1625F1005` | EpochConfig | Epoch interval duration |
| `0x1625F1006` | VersionConfig | Protocol major version |
| `0x1625F1007` | ConsensusConfig | Consensus parameters (BCS-serialized) |
| `0x1625F1008` | ExecutionConfig | VM execution parameters (BCS-serialized) |
| `0x1625F1009` | OracleTaskConfig | Continuous oracle task configuration |
| `0x1625F100A` | OnDemandOracleTaskConfig | On-demand oracle request type registry |
### Staking & validator (`0x1625F2xxx`)
| Address | Contract | Purpose |
| ------------- | ------------------ | ------------------------------------------------ |
| `0x1625F2000` | Staking | Governance staking (open to all G holders) |
| `0x1625F2001` | ValidatorManager | Validator registration, bonding, set transitions |
| `0x1625F2002` | DKG | Distributed Key Generation session lifecycle |
| `0x1625F2003` | Reconfiguration | Epoch transitions and reconfiguration |
| `0x1625F2004` | Block | Block prologue/epilogue handler |
| `0x1625F2005` | PerformanceTracker | Per-validator success/failure proposal tracking |
### Governance (`0x1625F3xxx`)
| Address | Contract | Purpose |
| ------------- | ---------- | ------------------------------------------------- |
| `0x1625F3000` | Governance | Proposal lifecycle: submission, voting, execution |
### Oracle (`0x1625F4xxx`)
| Address | Contract | Purpose |
| ------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `0x1625F4000` | NativeOracle | Verified external data (blockchains, JWK providers, DNS) |
| `0x1625F4001` | JWKManager | JWKs for keyless account authentication |
| `0x1625F4002` | OracleRequestQueue | User-initiated on-demand oracle requests — **address reserved, not yet deployed** (`eth_getCode` returns `0x`); do not integrate against it yet |
### Precompiles (`0x1625F5xxx`)
| Address | Contract | Purpose |
| ------------- | ---------------------- | ------------------------------------------ |
| `0x1625F5000` | NativeMintPrecompile | Authorized native G mint |
| `0x1625F5001` | BlsPopVerifyPrecompile | BLS12-381 proof-of-possession verification |
The full Solidity source for these contracts is published at [Galxe/gravity\_chain\_core\_contracts](https://github.com/Galxe/gravity_chain_core_contracts).
## Cross-chain bridge
The canonical bridge consists of two contracts on **Ethereum mainnet**, paired with the `GBridgeReceiver` contract on Gravity L1 (deployed at genesis) that mints native G via the native-mint precompile once the consensus engine relays a verified message through the native oracle:
| Contract | Address | Purpose |
| ---------------- | -------------------------------------------- | ----------------------------------------------------------------------- |
| `GravityPortal` | `0x76cf8526Fa9461e50B2c6702a7246ce6915f6E53` | Charges ETH fees, emits `MessageSent` events for consensus |
| `GBridgeSender` | `0xE82c61Ac9Ec2041b493118051afa4F18a55dC876` | Locks G ERC-20 from the user, forwards the bridge message to the Portal |
| Owner (multisig) | `0xbD6e434dB90FD8AD4E28d85C133AD34cA6fbfB6D` | Gnosis Safe 3-of-6, owner of both Portal and Sender |
Both Ethereum contracts are owned by a 3-of-6 Gnosis Safe multisig. For the end-user bridging flow, see [How to Get G](/the-g-token/how-to-get-g).
## Token contracts
For the canonical ERC-20 token list on Gravity L1 (native G, wG, and bridged assets as their bridge routes go live), see [Token Contracts on Gravity](/the-g-token/token-contracts).
## See also
* [Verify a Smart Contract](/legacy-alpha-mainnet-l2/verify-a-smart-contract) — explorer verification (Foundry / Hardhat).
* [Token Contracts on Gravity](/the-g-token/token-contracts) — ERC-20s on L1.
* [Gravity Mainnet (L1)](/gravity-networks/l1-mainnet) — network connection parameters.
* [Legacy: Alpha Mainnet (L2) contracts](/legacy-alpha-mainnet-l2/mainnet) — rollup, inbox, outbox, gateways.
# Gravity Litepaper
Building Gravity Chain: A High-Performance EVM Layer-1 Powered by Grevm and Gravity SDK
{% hint style="warning" %}
**Historical note** — this is the original 2024 design paper for Gravity Chain. Some elements of the proposed architecture, in particular the restaking-based security model (EigenLayer / Babylon integration), have evolved as Gravity moved from proposal through testnet to mainnet. At launch, Gravity L1 uses native G staking under a permissioned initial validator set; restaking integrations are not part of the current network. For up-to-date network details see [Gravity Mainnet (L1)](/gravity-networks/l1-mainnet) and the [Introduction](/). The rest of this paper — pipelined consensus, parallel EVM (Grevm), Block Stream Reactor execution, storage design — remains the canonical reference for Gravity's architecture.
{% endhint %}
## Abstract
**Gravity Chain** is a pioneering high-performance EVM-compatible layer-1 blockchain designed for mass adoption and an omnichain future, built by Galxe. Offering **1 gigagas per second throughput**, **sub-second finality**, and **restaking-powered PoS security**, at its core, Gravity is built using two major open source components: (1) **Gravity SDK**, a restaking-powered **pipelined** AptosBFT PoS consensus engine, and (2) **Gravity reth**, a Block Stream Reactor (BSR) execution layer powered by our parallel EVM **Grevm (Gravity EVM)**. They are designed to empower web3 applications to launch their own alternative L1s and faster-finality L2s, specifically optimized for EVM chains. This paper introduces the engineering design and technological innovations behind Gravity, illustrating how the Gravity meets high-performance demands through a combination of pipelined architecture, state-of-the-art consensus algorithm, parallel execution, and highly optimized storage layer, specifically by augmenting [reth](https://github.com/paradigmxyz/reth) and refining an open-source consensus engine from [Aptos](https://github.com/aptos-labs/aptos-core).
## Introduction
The development of Gravity was initially driven by the challenges we encountered with Galxe, a leading Web3 application offering a suite of services such as loyalty points, campaign NFTs, token rewards, zk-identity, and omnichain smart savings. Galxe's rapid growth has resulted in a significant volume of transactions, with its loyalty points system processing over 51.2 transactions per second and token rewards campaigns processing over 32.1 transactions per second on average. As we move towards decentralizing Galxe's backend, transitioning all its use cases to an EVM blockchain while maintaining optimal user experience became challenging. This shift highlights the necessity for a high-performance EVM blockchain capable of supporting (1) high transaction throughput, and (2) near-instantaneous finality.
Considering these performance demands, the decision to either adopt existing L2 solutions or develop a new Layer-1 chain is a critical. The core trade-off lies in the approach to achieving transaction finality: using a consensus algorithm, which defines an L1, or rollup protocols, which categorize as an L2. The trade-off is clear—L1s generally have lower theoretical throughput because of the cost of consensus algorithms. However, this also results in significantly faster time-to-finality compared to L2s. For example, with a consensus algorithm like AptosBFT, finality can be achieved in sub-second, whereas optimistic roll-ups can take up to seven days due to the challenge period. Even with using zero-knowledge proof to speed up this process, the time-to-finality remains in the order of hours. Given Gravity's need for near-instant finality—essential for Galxe user experience and particularly for the Gravity's omnichain intent protocol—we decided to develop an L1.
Moreover, while L2s offer native support for messaging with Ethereum, L1 chains like Gravity can provide comparable, and even more extensive, interoperability through the Gravity Intent Protocol and cross-chain bridges built by players of the Ethereum ecosystem. This approach not only enables seamless communication with Ethereum but also extends interoperability to other blockchain networks, enhancing the overall connectivity of the whole web3 ecosystems.
Furthermore, with the adoption of restaking protocols, bootstrapping a Proof-of-Stake (PoS) L1 blockchain is no longer as challenging as it once was. By integrating restaking protocols like EigenLayer and Babylon, L1s can tap into the vast staked value of Ethereum and Bitcoin, and their extensive validator networks. The economic trust provided by these restaking protocols from the outset serves as a solid foundation for PoS consensus, enabling Gravity to achieve similar levels of decentralization and security to that of Ethereum.
In light of these considerations, we decided to build Gravity, a high-performance EVM-compatible layer-1 blockchain, to meet the scalability and performance demands of modern web3 applications. Although the development of Gravity was initially driven by the needs of Galxe, the Gravity SDK and Grevm (Gravity EVM) are designed to offering a flexible framework for building alternative L1s and faster-finality L2s, just like Tendermint/Cosmos SDK.
### Call for 1 gigagas per second throughput
The most critical performance requirement for any blockchain is its throughput, typically measured in transactions per second (TPS) or gas per second (gas/s). Using Galxe's loyalty points system as an example, the system demands a minimum throughput of 4 million gas/s to function effectively. This estimate is based on the average gas usage per loyalty point transaction (80,000 gas) and the observed transaction rate of 51.2 transactions per second, which collectively equates to 4 million gas/s.
This estimate is further validated by real-world data from Gravity Alpha Mainnet, our experimental Layer 2. All loyalty points transactions on Gravity Alpha Mainnet have consistently demonstrated a throughput of approximately 4 million gas/s, confirming the above estimation.

While this demand may decrease slightly due to the higher costs associated with on-chain operations, The growth trajectory of Galxe suggests that during peak periods, the demand could easily reach two to three times the current level. Additionally, when factoring in other applications such as NFTs, token rewards, and future on-chain functionalities like fully on-chain questing powered by zero-knowledge proofs, the blockchain must be able to sustainably handle a throughput of 50 million gas/s, if Galxe becomes a fully on-chain DApp. If we assume a Pareto distribution of gas usage of applications on the [Gravity chain](https://gravity.xyz/), similar to how Uniswap consistently consumes [10% of Ethereum's gas usage](https://etherscan.io/gastracker), the chain should ideally support a sustainable throughput of 500 million gas/s to accommodate the broader ecosystem applications like cross-chain settlement for smart saving LSD, loyalty points trading DEXs, and NFT marketplaces. Given these estimations, it becomes clear that to meet the demands of applications in the ecosystem, we need an EVM blockchain of 1 gigagas per second throughput. This ensures that the performance ceiling is high enough to accommodate even more resource-intensive applications, enabling them to scale without being constrained by the chain's capabilities.
One of the critical parts of achieving such throughput is the parallel EVM. We have developed Grevm, a parallel EVM execution runtime, which is the fastest open-source parallel EVM implementation to date in our benchmark (see more details in the Grevm section below).
### Sub-Second Finality
In addition to throughput, the blockchain's finality time is a critical factor in maintaining a positive user experience. Users expect near-instantaneous responses similar to what they experience with centralized backends, just like web2 apps. In this regard, Galxe's requirements are akin to those of fully on-chain games, where low latency is crucial, though not as extreme. Current EVM blockchains, with t프로젝트로 돌아가기