From 9cd6050d66a8bb82dd8855b777663183196bd8b3 Mon Sep 17 00:00:00 2001 From: Anil Kumar <150643132+anil-rome@users.noreply.github.com> Date: Sun, 18 Oct 2026 12:00:06 +0300 Subject: [PATCH] AGENTS.md v3.6: Hadrian is Rome's public testnet Hadrian (chain 200010) is the testnet the docs target; Martius is no longer named as a build or funding target. --- AGENTS.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b375277..2fd2997 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,5 @@ @@ -52,7 +53,7 @@ Which side holds the core logic is a **soft, per-app judgment** — weigh existi For example, performance might tip it: native can be much cheaper than the EVM interpreter for heavy logic (one swap we measured ran ~6× cheaper) — consider it if you have a hot compute-heavy path. It's one input, not a rule. ## Getting funded — USDC is the gas token; bridge it in -Every Rome chain's gas token is **USDC** (Circle). **There is no Rome faucet.** Fund a wallet by **bridging USDC into Rome** from a chain where you already have it: get testnet USDC on a source chain (Sepolia, an L2, or Solana) from *that chain's* own faucet, then bridge to Hadrian/Martius (the on-chain `settle_inbound_bridge`, orchestrated by `rome-bridge-api`; CCTP for USDC). One command: `rome fund --from sepolia --amount 1`. Holding ETH instead? `rome bridge --from sepolia --amount 0.002 --asset eth` lands it as wETH (Wormhole). Bridging **out** (`--to`) is also one command — note the first outbound needs a one-time `rome activate ` (~2 USDC), and the destination claim is your own step. +Every Rome chain's gas token is **USDC** (Circle). **There is no Rome faucet.** Fund a wallet by **bridging USDC into Rome** from a chain where you already have it: get testnet USDC on a source chain (Sepolia, an L2, or Solana) from *that chain's* own faucet, then bridge to Hadrian, the testnet (the on-chain `settle_inbound_bridge`, orchestrated by `rome-bridge-api`; CCTP for USDC). One command: `rome fund --from sepolia --amount 1`. Holding ETH instead? `rome bridge --from sepolia --amount 0.002 --asset eth` lands it as wETH (Wormhole). Bridging **out** (`--to`) is also one command — note the first outbound needs a one-time `rome activate ` (~2 USDC), and the destination claim is your own step. ## The rules that bite on every path (different from vanilla EVM) @@ -71,4 +72,4 @@ The TypeScript SDK ([`rome-sdk-ts`](https://github.com/rome-protocol/rome-sdk-ts [`rome-cli`](https://github.com/rome-protocol/rome-cli) is the dev CLI + MCP server built for exactly this file's reader (one-shot: `npx github:rome-protocol/rome-cli#v0.11.0 `; durable: clone the repo at a tag (`git clone --branch v0.11.0 https://github.com/rome-protocol/rome-cli`), then `npm install && npm install -g .` — a plain `npm i -g github:…` fails, and an unpinned `npx` can run an old cached copy). **Reads** run on both surfaces, no keys: `facts` (chain/tokens/contracts/gas/balance/programs) · `cookbook` (patterns / cpi-recipe / errors) · `call` · `doctor` · `tx` · `preset` (foundry/hardhat config). Register the MCP server once (after the durable install, so `rome` is on your PATH) — `{"mcpServers": {"rome": {"command": "rome", "args": ["mcp"]}}}` — and the tools are `facts_chain`, `facts_tokens`, `facts_contracts`, `cookbook_patterns`, `cookbook_errors`, `doctor`, `tx`, `preset`, …. **Actions** are CLI-only and key-gated (`ROME_EVM_KEY` from the environment, never a flag, never on MCP): `new` · `deploy` · `send` · `fund` · `bridge` · `activate` · `verify`. The MCP surface can never sign or move funds. ## Verify before you claim done -Before saying a change works: check RPC config, confirm every write goes through the SDK (`submitRomeTx` / `submitRomeTxV1`), and run a **both-lane smoke** against devnet with a fresh wallet and a tiny amount. The one-command works-gate is **`rome verify --path `** — dual-lane parity for a contract, an EVM-lane call driving a Solana program via CPI, or the full bridge-in → act → bridge-out round trip. For a scaffolded app, `npm run demo` is the funded dual-lane proof. +Before saying a change works: check RPC config, confirm every write goes through the SDK (`submitRomeTx` / `submitRomeTxV1`), and run a **both-lane smoke** against the Hadrian testnet with a fresh wallet and a tiny amount. The one-command works-gate is **`rome verify --path `** — dual-lane parity for a contract, an EVM-lane call driving a Solana program via CPI, or the full bridge-in → act → bridge-out round trip. For a scaffolded app, `npm run demo` is the funded dual-lane proof.