> For the complete documentation index, see [llms.txt](https://docs.rome.builders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rome.builders/zh/kuai-su-ru-men/why-rome.md).

# 为什么选择 Rome？

Rome 将 EVM 和 Solana 变成一个统一市场。Rome 与其他基于 Solana 的 EVM 方案有何不同：原子级 CPI 可组合性、单一共享状态，以及使用自定义 gas 代币的应用链。

Rome 让 EVM 和 Solana 形成一个统一市场。

有一些项目将 EVM 兼容性引入 Solana。Rome 采取了不同的方法。它在 Solana 内部运行 EVM 链，因此任何 EVM 协议都只需部署一次，就能向 Solana 钱包开放；而且 Solidity 合约可以直接调用 Solana 程序。EVM 用户和 Solana 用户在同一市场中是平等的参与方。

## 核心差异化优势

### 1. 通过 CPI 实现原子级可组合性

Rome 是唯一一个支持 Solidity 合约在同一笔交易中调用 Solana 程序的 EVM 环境。一个 Solidity 函数可以：

```solidity
// 全部在一笔原子交易中：
int256 price = IPyth(PYTH).getPrice("SOL/USD");        // 读取 Pyth 预言机
uint256 quote = IJupiter(JUPITER).getQuote(USDC, SOL);  // 获取 Jupiter 报价
IJupiter(JUPITER).swap(USDC, SOL, amount, minOut);       // 执行兑换
IKamino(KAMINO).deposit(SOL, collateralAmount);          // 向 Kamino 存入
```

如果任何一步失败，整笔交易都会回滚。不会部分执行，也不会产生竞态条件。

### 2. 单一状态

在 Rome 中，钱包的 SPL 代币及其 ERC-20 包装代币读取的是同一个代币账户，因此移动 USDC 的 Solidity 合约移动的是实际的 SPL USDC。

这意味着：

* **没有流动性碎片化** — Solana DeFi 和 EVM DeFi 共享同一批池子
* **一个余额** — 无论是 Solidity 合约还是 Solana 程序读取，钱包中的 USDC 余额都是同一个。
* **实时可组合性** — EVM 合约可立即看到 Solana 状态变化

### 3. 应用主权

Rome 上的每个应用都拥有自己的 EVM 环境：

* **自定义链 ID** — 你的应用就是一条独立的链
* **自定义 gas 代币** — 任何 SPL 代币，价格通过 Meteora LP 池确定
* **Gas 收入** — 费用归属于你的应用，而不是 Rome 协议
* **完整的 EVM 工具链** — 你的用户连接 MetaMask，你的开发者使用 Hardhat

## 何时使用 Rome

**在以下情况下使用 Rome：**

* 你希望 EVM 合约直接访问 Solana DeFi
* 你希望在 Solana 上拥有一条带有自有 gas 代币的主权 EVM 链
* 你正在迁移需要 Solana 的速度和流动性的以太坊合约
* 你需要跨 EVM 和 Solana 程序的原子操作

**在以下情况下请考虑其他方案：**

* 你只需要标准的 Solana 程序（使用原生 Solana/Anchor）
* 你需要以太坊主网结算（使用传统 L2）
* 你需要不依赖 EVM 执行的跨链消息传递（直接使用 Wormhole/Hyperlane）

## 下一步

* [架构](https://docs.rome.builders/zh/kuai-su-ru-men/architecture.md) — Rome EVM 如何在 Solana 内部运行
* [快速开始](https://docs.rome.builders/zh/kuai-su-ru-men/quickstart.md) — 部署你的第一个合约


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rome.builders/zh/kuai-su-ru-men/why-rome.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
