> 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/ru-men-zhi-nan.md).

# 入门指南

构建可服务于 Solana 钱包的 EVM 应用，从 Solidity 调用 Solana 程序，并在双方之间转移资产。

Rome 将 EVM 与 Solana 融为一个市场。

Rome 在 Solana 内运行 EVM 链，让任何 EVM 协议都能一次部署，并向 Solana 钱包开放。Rome 上的 Solidity 合约可直接调用 Solana 程序，让 EVM 用户使用 Kamino 和 Solana DEX。 [Solgate](https://docs.rome.builders/zh/rome-shang-de-ying-yong/solgate.md) 可在主网和测试网上实现 Solana 资产与 AggLayer EVM 链之间的双向连接。EVM 用户和 Solana 用户在同一个市场中地位平等，下一步还将扩展至 Canton。阅读 [一个市场](https://docs.rome.builders/zh/kuai-su-ru-men/one-market.md) ，了解全貌。

## Rome 的独特之处

* **统一状态** — 在 Rome 内，EVM 合约和 Solana 程序共享同一状态，并在一笔交易中完成结算。
* **CPI 访问** — Solidity 合约可直接调用任意 Solana 程序，从 SPL Token 到 Meteora 均可。
* **标准工具链** — 使用 Hardhat 或 Foundry 部署。通过 MetaMask 交互。使用 Solidity 编写合约。
* **应用自主权** — 每个应用都拥有自己的 EVM 链，可自定义 Gas 代币并获得手续费收入。

## 面向开发者

* [什么是 Rome？](https://docs.rome.builders/zh/kuai-su-ru-men/what-is-rome.md) — 了解 EVM 如何在 Solana 上执行
* [快速入门](https://docs.rome.builders/zh/kuai-su-ru-men/quickstart.md) — 不到 5 分钟即可部署你的第一个合约
* [部署 Solidity 合约](https://docs.rome.builders/zh/kai-fa-zhe-zhi-nan/deploy-solidity.md) — Hardhat 和 Foundry 部署指南
* [从 EVM 调用 Solana](https://docs.rome.builders/zh/kai-fa-zhe-zhi-nan/call-solana-from-evm.md) — 使用 Solidity 通过 CPI 调用 Solana 程序
* [Rome SDK](https://docs.rome.builders/zh/chan-pin/rome-sdk.md) — 使用 Solidity 和 Rust 构建 Rome 应用

## Rome 上的应用

Rome 已上线运行。查看当前运行的 DEX、借贷、跨链桥、区块浏览器等应用，请访问 [Rome 上的应用](https://docs.rome.builders/zh/rome-shang-de-ying-yong/apps.md).

## 产品

* [应用自主权](https://docs.rome.builders/zh/chan-pin/app-sovereignty.md) — 在 Solana 上启动自己的 EVM 链
* [预言机网关](https://docs.rome.builders/zh/chan-pin/oracle-gateway.md) — 将 Pyth/Switchboard 作为 Chainlink AggregatorV3Interface 使用
* [Rome SDK](https://docs.rome.builders/zh/chan-pin/rome-sdk.md) — 使用 Solidity 和 Rust 构建 Rome 应用

## 核心概念

* [架构](https://docs.rome.builders/zh/kuai-su-ru-men/architecture.md) — 系统概览和组件图
* [执行模型](https://docs.rome.builders/zh/he-xin-gai-nian/execution-model.md) — 原子执行与迭代执行
* [代币互操作](https://docs.rome.builders/zh/he-xin-gai-nian/token-interop.md) — ERC-20 和 SPL 代币如何协同工作
* [限制](https://docs.rome.builders/zh/he-xin-gai-nian/constraints.md) — 重要限制与边界

## 参考

* [合约地址](https://docs.rome.builders/zh/can-kao/contract-addresses.md) — 各链上的已部署地址
* [术语表](https://docs.rome.builders/zh/zi-yuan/glossary.md) — Rome 专属术语
* [常见问题](https://docs.rome.builders/zh/zi-yuan/faq.md) — 常见问题解答

## 网络

基于以下网络构建 **Hadrian** （测试网），并部署到 **Rubicon** （主网，使用真实 USDC）。Ostia DevNet 是 Canton 上的一条独立链，拥有自己的测试币。完整详情、钱包设置和资金获取方法，请参阅 [网络](https://docs.rome.builders/zh/wang-luo/networks.md) 页面。

| 网络                                                                                              | 链 ID   | RPC URL                                     |
| ----------------------------------------------------------------------------------------------- | ------ | ------------------------------------------- |
| [Rubicon](https://docs.rome.builders/zh/wang-luo/rubicon.md) （主网）                               | 7531   | `https://rubicon.mainnet.romeprotocol.xyz/` |
| [Hadrian](https://docs.rome.builders/zh/wang-luo/hadrian.md) （测试网）                              | 200010 | `https://hadrian.testnet.romeprotocol.xyz/` |
| [Ostia DevNet](https://docs.rome.builders/zh/canton-zk-evm/devnet.md) （Canton DevNet，测试币 tROME） | 770101 | `https://ostia.devnet.romeprotocol.xyz/rpc` |

## Ostia：Canton 上的 ZK EVM（DevNet）

Ostia 是一条在 Canton 上完成结算的 EVM 链，而非 Solana 链。每个区块都会使用 ZisK 生成证明，然后通过一笔交易提交到 Canton Network。该链已在 Canton DevNet 上开放。

* 链 ID `770101`，测试币为 tROME。可从区块浏览器中的水龙头获取。开发者可以使用 GitHub 登录，领取 100 tROME。
* RPC： `https://ostia.devnet.romeprotocol.xyz/rpc`
* 区块浏览器： [ostia.devnet.romeprotocol.xyz](https://ostia.devnet.romeprotocol.xyz/)
* [概览](https://docs.rome.builders/zh/canton-zk-evm/canton-zk-evm.md) ——了解 Ostia 是什么，以及它与 Rome 在 Solana 上的 ZK EVM Rollup 有何不同
* [从这里开始](https://docs.rome.builders/zh/canton-zk-evm/start-here.md) ——为不同读者提供合适的页面和代码
* [跨链桥](https://ostia.devnet.romeprotocol.xyz/bridge) ——使用浏览器钱包在 Ostia 和 Canton 之间转移代币（[了解其工作原理](https://docs.rome.builders/zh/canton-zk-evm/bridge.md))
* [外部调用](https://ostia.devnet.romeprotocol.xyz/canton) ——了解 Ostia 的每个区块如何提交到 Canton（[了解其工作原理](https://docs.rome.builders/zh/canton-zk-evm/explorer.md#external-calls))
* [使用 Canton 构建](https://docs.rome.builders/zh/canton-zk-evm/build-with-canton.md) 和 [应用场景](https://docs.rome.builders/zh/canton-zk-evm/use-cases.md) ——了解你现在可以构建什么
* 基于 Apache License 2.0 开源： [rome-protocol/canton-zk-evm](https://github.com/rome-protocol/canton-zk-evm)

## 需要帮助？

* [Discord](https://discord.gg/vZ9rnCdNSB) ——开发者社区与支持
* [Telegram](https://t.me/+tdnr-M6kcngxYzhk) ——更新与公告
* [GitHub](https://github.com/rome-protocol) — 源代码和问题


---

# 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/ru-men-zhi-nan.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.
