> 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/ko/resources/faq.md).

# FAQ

Rome Protocol에 대한 자주 묻는 질문 — Rome은 브리지인가 롤업인가, Solidity 호환성, 오라클, 가스 토큰, 그리고 Solana 상호운용.

## 일반

**Rome Protocol이란 무엇인가요?** Rome은 EVM과 Solana를 하나의 시장으로 통합합니다. Rome은 Solana 내부에서 EVM 체인을 실행하므로, 어떤 EVM 프로토콜이든 한 번 배포하면 Solana 지갑에도 공개할 수 있고 Solidity 컨트랙트에서 Solana 프로그램을 직접 호출할 수 있습니다. 자세한 내용은 [Rome이란 무엇인가요?](https://docs.rome.builders/ko/getting-started-1/what-is-rome.md)

**Rome은 브리지인가요?** Rome EVM 자체는 브리지가 아닙니다. Solana 내부에서 실행되므로 EVM 컨트랙트와 Solana 프로그램이 상태를 공유하고 하나의 트랜잭션으로 정산됩니다. Rome과 다른 체인 간에 자산을 이동하려면 [Rome Bridge](https://docs.rome.builders/ko/rome-1/bridge-api.md) (CCTP를 통한 USDC, Solana 지갑의 SOL 및 USDC)를 사용할 수 있으며, 메인넷과 테스트넷에서는 [Solgate](https://docs.rome.builders/ko/rome-1/solgate.md) 가 Solana 자산과 AggLayer EVM 체인을 양방향으로 연결합니다.

**Rome은 롤업인가요?** 아닙니다. Rome EVM 체인(Rubicon 및 Hadrian)은 롤업이 아닙니다. 블록 인덱서(Hercules)가 지갑과 블록 탐색기를 위한 Ethereum 호환 블록을 생성하지만, EVM 실행은 별도의 롤업 체인이 아니라 Solana 프로그램 내부에서 이루어집니다. [Rome ZK EVM](https://docs.rome.builders/ko/rome-zk-evm/zk-evm.md) 은 다른 제품입니다. 운영자는 롤업을 실행해 배치를 Solana에 게시하고, 검증된 루트를 Solana에서 정산합니다.

**Ostia는 롤업인가요? Rome ZK EVM과 어떻게 다른가요?** Rome ZK EVM 롤업과 같은 의미의 롤업은 아닙니다. Solana나 다른 체인에 배치를 게시하지 않습니다. Ostia는 Canton상의 ZK EVM입니다. 블록은 Canton에서 순서가 정해지고 정산됩니다. 각 블록은 ZisK로 증명된 다음, 해당 블록에 담긴 Canton 액션과 함께 하나의 Canton 트랜잭션으로 커밋됩니다. [Rome ZK EVM](https://docs.rome.builders/ko/rome-zk-evm/zk-evm.md) 은 다른 제품입니다. 운영자는 롤업을 실행해 배치를 Solana에 게시하고, 검증된 루트를 Solana에서 정산합니다. Ostia는 Canton DevNet에서 공개되어 있습니다. 자세한 내용은 [Canton ZK EVM](https://docs.rome.builders/ko/canton-zk-evm/canton-zk-evm.md).

## 개발

**기존 Solidity 컨트랙트를 사용할 수 있나요?** 네. 표준 Solidity 컨트랙트는 수정 없이 Rome에 배포할 수 있습니다. 컨트랙트에서 Chainlink 오라클을 사용하는 경우, Oracle Gateway가 동일한 `AggregatorV3Interface`를 제공합니다. 사용자에게는 새로 필요한 절차가 하나 있지만, 컨트랙트에는 변경이 없습니다. 래퍼가 지갑의 토큰을 이동하려면 먼저 해당 지갑에서 래퍼에 한 번 권한을 부여해야 합니다(`approve_spl` 을 Helper 프리컴파일에서 호출). `transferFrom` 으로 래퍼 토큰을 가져오는 컨트랙트에서는 각 사용자가 이 권한 부여를 완료해야 합니다. 자세한 내용은 [지갑별 1회 권한 부여](https://docs.rome.builders/ko/core-concepts/token-interop.md#one-time-grant-per-wallet).

**어떤 Solidity 버전을 사용해야 하나요?** 0.8.28을 권장합니다(Rome Solidity SDK와 호환). 이전 버전도 사용할 수 있습니다.

**Hardhat이나 Foundry를 사용할 수 있나요?** 둘 다 사용할 수 있습니다. Rome RPC URL과 체인 ID를 사용해 네트워크를 구성하세요. 자세한 내용은 [Solidity 배포](https://docs.rome.builders/ko/developer-guides/deploy-solidity.md).

**MetaMask를 사용할 수 있나요?** 네. 적절한 RPC URL과 체인 ID를 설정해 MetaMask에 Rome을 사용자 지정 네트워크로 추가하세요. 자세한 내용은 [빠른 시작](https://docs.rome.builders/ko/getting-started-1/quickstart.md).

**트랜잭션에서 가스를 얼마나 사용하나요?** 체인에 문의하세요. 표준 도구처럼 `eth_estimateGas`를 사용하고, 21,000을 하드코딩하지 마세요. 쓰기 작업 비용의 대부분은 아직 사용된 적 없는 수신자, 새 토큰 계정 또는 배포된 컨트랙트와 같은 Solana 계정을 생성하는 데 들며, 추정치에 이 비용이 포함됩니다. Hadrian에서 측정한 결과, 처음 사용하는 주소로의 네이티브 전송은 가스가 1,086,961로 추정되었고, 기존 주소로의 전송은 21,000으로 추정되어 10,001을 사용했습니다. Rome은 트랜잭션이 실제로 사용한 가스만 부과하며, 이 측정에서는 실제 사용량이 추정치를 넘지 않았습니다. Solana 프로그램을 호출할 때는 SDK의 1.3배 패딩처럼 여유분을 추가하고, 추정 과정 자체가 되돌려지는 경우에는 가스 상한을 설정하세요. 자세한 내용은 [JSON-RPC 지원](https://docs.rome.builders/ko/reference/json-rpc.md).

**Solidity에서 Solana 프로그램을 어떻게 호출하나요?** Rome Solidity SDK를 통해 CPI 프리컴파일(`0xFF...08`)을 사용하세요. 자세한 내용은 [EVM에서 Solana 호출하기](https://docs.rome.builders/ko/developer-guides/call-solana-from-evm.md).

## 성능

**트랜잭션 최종성까지 얼마나 걸리나요?** 트랜잭션은 Solana 슬롯 한 번 이내, 즉 1초 미만의 짧은 시간 안에 확인됩니다. 이는 Rome 체인에서의 확인이며, 더 오래 걸리는 Solana에서의 최종성을 뜻하지는 않습니다.

**컴퓨팅 예산은 얼마인가요?** 원자적 트랜잭션당 컴퓨팅 단위는 약 140만 개입니다. 이를 초과하는 작업은 반복 모드(여러 Solana 트랜잭션으로 분할)를 사용합니다. 자세한 내용은 [컴퓨팅 예산](https://docs.rome.builders/ko/core-concepts/compute-budget.md).

## 토큰

**Rome은 어떤 가스 토큰을 사용하나요?** 각 체인은 자체 가스 토큰을 선택하며, Meteora 풀을 통해 가격이 책정되는 모든 SPL 토큰을 사용할 수 있습니다. 공개 체인(Rubicon 및 Hadrian)은 가스로 USDC를 사용합니다. Hadrian에서는 테스트용 USDC를 사용하고, [Rubicon](https://docs.rome.builders/ko/networks/rubicon.md) 에서는 실제 USDC를 사용합니다.

**Rome에서 ERC-20 토큰은 어떻게 작동하나요?** Rome의 ERC-20 토큰은 SPL 토큰을 래핑한 것입니다. 지갑 주소의 경우, `balanceOf()` 는 Solana의 SPL 토큰 계정을 읽습니다. 컨트랙트 주소의 경우, 컨트랙트의 토큰이 래퍼의 토큰 계정에 보관되므로 래퍼 자체 원장에서 잔액을 관리합니다. `allowance()` 는 Solana 위임과 별도로 EVM 저장소에 보관됩니다. 한 번 승인하면 래퍼가 사용자의 SPL 위임자로서 사용자 토큰을 이동합니다. 자세한 내용은 [토큰 상호 운용](https://docs.rome.builders/ko/core-concepts/token-interop.md).

**Solana 측 입금 또는 브리지 전송이 "insufficient SOL" 오류로 실패합니다. 지갑에는 잔액이 있는데 왜 그런가요?** Rome의 공개 테스트넷 Hadrian은 Solana Devnet에서 정산되므로, Solana 지갑이 일치하는 네트워크 모드로 설정되어 있어야 합니다(Rubicon은 Solana 메인넷에서 정산됩니다). Phantom에서 설정 → 개발자 설정을 열고, 네트워크를 Devnet으로 설정한 상태에서 테스트넷 모드를 활성화한 다음 두 지갑의 연결을 해제했다가 다시 연결하고 재시도하세요. 입금 후 토큰 잔액이 표시되지 않으면 지갑에 토큰을 직접 가져오세요.

## 인프라

**직접 노드를 실행해야 하나요?** 아니요. 공개 체인의 RPC에 연결하면 됩니다(자세한 내용은 [네트워크](https://docs.rome.builders/ko/networks/networks.md)참조). 자체 체인을 실행하려면 Proxy와 Hercules를 운영해야 합니다.

**Rome에는 어떤 데이터베이스가 필요한가요?** PostgreSQL이 필요합니다. Hercules는 블록 인덱싱에, Proxy는 블록 조회에 사용합니다.

**Rome을 로컬에서 실행할 수 있나요?** Rome EVM 체인(Rubicon 및 Hadrian)의 경우, 바로 사용할 수 있는 로컬 스택은 없으며 공개된 것도 없습니다. Ostia는 자신의 머신에서 실행할 수 있습니다. 자세한 내용은 [Ostia 직접 실행하기](https://docs.rome.builders/ko/canton-zk-evm/run-it-locally.md)를 참조하세요. Rubicon과 Hadrian의 경우 공개 체인을 대상으로 개발하세요.  [빠른 시작](https://docs.rome.builders/ko/getting-started-1/quickstart.md) 을 사용하면 몇 분 만에 Hadrian(테스트넷)에 배포할 수 있습니다.


---

# 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/ko/resources/faq.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.
