> 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/vi/san-pham/app-sovereignty.md).

# Chủ quyền ứng dụng

Triển khai chuỗi EVM có chủ quyền của riêng bạn trên Solana — chain ID tùy chỉnh, bất kỳ token SPL nào làm gas, và doanh thu gas tích lũy về kho bạc của ứng dụng bạn.

App Sovereignty cho phép bất kỳ ứng dụng Solana nào khởi chạy môi trường EVM riêng của mình với chain ID tùy chỉnh, token gas tùy chỉnh và doanh thu gas chảy về ứng dụng — không phải một giao thức dùng chung.

## Tổng quan

Mỗi ứng dụng trên Rome đều có một phiên bản EVM có chủ quyền:

* **Chain ID riêng** — ứng dụng của bạn là một chain riêng
* **Token gas riêng** — bất kỳ token SPL nào (token dự án của bạn, USDC, SOL)
* **Doanh thu gas** — toàn bộ phí giao dịch được cộng dồn vào kho bạc của bạn
* **Bộ công cụ EVM đầy đủ** — người dùng của bạn kết nối MetaMask, các dev của bạn dùng Hardhat/Foundry
* **Trạng thái dùng chung** — người dùng EVM và người dùng Solana dùng chung cùng trạng thái ứng dụng và thanh khoản

## Cách hoạt động

1. **Kết nối thông qua Cổng Sovereign** — yêu cầu một chain và cấu hình chain ID cùng token gas của bạn (bất kỳ SPL mint nào) thông qua [Cổng Sovereign](https://sovereign.devnet.romeprotocol.xyz)
2. **Rome khởi chạy chain** — đội ngũ Rome cung cấp và vận hành hạ tầng của chain
3. **Triển khai hợp đồng** — triển khai Solidity tiêu chuẩn bằng Hardhat hoặc Foundry
4. **Người dùng kết nối** — MetaMask với chain ID của bạn, hoặc bất kỳ ví EVM nào

Mọi chain Rome đang hoạt động — bao gồm cả chain tham chiếu công khai [**Hadrian**](/vi/mang/hadrian.md) — được ghi lại trong công khai [sổ đăng ký Rome](https://github.com/rome-protocol/rome-registry) (chain id, RPC, địa chỉ hợp đồng), nên một chain có chủ quyền có thể được tìm thấy thông qua cùng nguồn chuẩn mà các builder vốn đã đọc.

## Định giá token gas

Token gas tùy chỉnh được định giá thông qua một pool Meteora DAMM — v1 hoặc v2, có thể cấu hình (cũng có phương án dự phòng Pyth/Hermes). Cấu hình Proxy chỉ định một `price_manager` đọc pool để quy đổi giữa token gas của bạn và SOL cho các phí giao dịch Solana nền tảng.

```yaml
# Cấu hình Proxy cho token gas tùy chỉnh
price_manager:
  type: "meteora_damm_v1_pool"   # meteora_damm_v1_pool | meteora_damm_v2_pool | hermes_api
  pool_address: "YOUR_METEORA_POOL_ADDRESS"
```

## Trường hợp sử dụng: Thị trường dự đoán ra mắt chain EVM

```
Orra (thị trường dự đoán trên Solana) muốn có người dùng EVM:
  1. Rome triển khai EVM có chủ quyền của Orra với token ORRA làm gas
  2. Người dùng EVM kết nối MetaMask, bridge USDC, mua cổ phần dự đoán
  3. Bên trong: rUSDC (ERC-20) → unwrap sang SPL → Orra CPI → mua cổ phần
  4. Orra kiếm phí gas bằng token ORRA từ mọi giao dịch EVM
  5. Một trạng thái duy nhất: người dùng Solana và EVM thấy cùng thị trường, cùng thanh khoản
```

## Trạng thái

**Trực tiếp** — sản phẩm đang hoạt động với các đối tác.

## Tiếp theo là gì

* [Kiến trúc](/vi/bat-dau/architecture.md) — Rome EVM hoạt động bên trong như thế nào
* [Bắt đầu nhanh](/vi/bat-dau/quickstart.md) — triển khai hợp đồng đầu tiên của bạn
* [Triển khai Solidity](/vi/huong-dan-cho-nha-phat-trien/deploy-solidity.md) — hướng dẫn triển khai cho Hardhat và Foundry


---

# 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/vi/san-pham/app-sovereignty.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.
