> 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/id/memulai/why-rome.md).

# Mengapa Rome?

Bagaimana Rome berbeda dari pendekatan EVM-on-Solana lainnya — komposabilitas CPI atomik, satu state bersama, dan sovereign app chain dengan token gas kustom.

Beberapa proyek membawa kompatibilitas EVM ke Solana. Rome mengambil pendekatan yang secara fundamental berbeda.

## Pembeda Utama

### 1. Komposabilitas Atomik melalui CPI

Rome adalah satu-satunya lingkungan EVM di mana kontrak Solidity dapat memanggil program Solana dalam transaksi yang sama. Satu fungsi Solidity dapat:

```solidity
// Semuanya dalam satu transaksi atomik:
int256 price = IPyth(PYTH).getPrice("SOL/USD");        // Baca oracle Pyth
uint256 quote = IJupiter(JUPITER).getQuote(USDC, SOL);  // Dapatkan kuotasi Jupiter
IJupiter(JUPITER).swap(USDC, SOL, amount, minOut);       // Eksekusi swap
IKamino(KAMINO).deposit(SOL, collateralAmount);          // Setorkan ke Kamino
```

Jika salah satu langkah gagal, seluruh transaksi akan dibatalkan. Tidak ada eksekusi parsial, tidak ada kondisi balapan.

### 2. Satu Keadaan

Di Rome, token SPL dan representasi ERC-20-nya adalah akun dasar yang sama. Ketika kontrak Solidity mentransfer USDC, yang dipindahkan adalah USDC SPL yang sebenarnya — bukan salinan terbungkus.

Artinya:

* **Tidak ada fragmentasi likuiditas** — DeFi Solana dan DeFi EVM berbagi pool yang sama
* **Tidak ada risiko bridge** — tidak ada bridge yang bisa dieksploitasi karena memang tidak ada bridge
* **Komposabilitas real-time** — kontrak EVM langsung melihat perubahan state Solana

### 3. Kedaulatan Aplikasi

Setiap aplikasi di Rome mendapatkan lingkungan EVM-nya sendiri:

* **ID chain kustom** — aplikasi Anda adalah chain-nya sendiri
* **Token gas kustom** — token SPL apa pun, dihargai melalui pool LP Meteora
* **Pendapatan gas** — biaya terakumulasi ke aplikasi Anda, bukan ke protokol Rome
* **Tooling EVM lengkap** — pengguna Anda menghubungkan MetaMask, developer Anda menggunakan Hardhat

## Kapan Menggunakan Rome

**Gunakan Rome ketika:**

* Anda menginginkan kontrak EVM dengan akses langsung ke DeFi Solana
* Anda menginginkan chain EVM yang berdaulat di Solana dengan token gas Anda sendiri
* Anda mem-port kontrak Ethereum yang membutuhkan kecepatan dan likuiditas Solana
* Anda memerlukan operasi atomik lintas program EVM dan Solana

**Pertimbangkan alternatif ketika:**

* Anda hanya membutuhkan program Solana standar (gunakan Solana/Anchor native)
* Anda memerlukan settlement mainnet Ethereum (gunakan L2 tradisional)
* Anda memerlukan pengiriman pesan lintas-chain tanpa eksekusi EVM (gunakan Wormhole/Hyperlane secara langsung)

## Apa Selanjutnya

* [Arsitektur](/id/memulai/architecture.md) — cara kerja Rome EVM di dalam Solana
* [Quickstart](/id/memulai/quickstart.md) — deploy kontrak pertama Anda


---

# 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/id/memulai/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.
