From home: reach Rome from another chain
Let users on another chain reach your Rome app without leaving home — bring assets in, act, take them back out.
Your users don't have to move to Rome. From their home chain — an L2 like Arbitrum or Monad, or Solana — they bring assets in, use your Rome app, and take assets back out. The bridge is on-chain and authorized by the user's own signature; you wire your app to it through one API.
How it works
Inbound (home → Rome): on the gas-token USDC route over CCTP, the
settle_inbound_bridge_v2instruction of the Rome program credits the user, under a signed EIP-712SettleAuthorization, so there is no privileged settler. The other inbound routes do not use that instruction or signature. Wrapper USDC, ETH over Wormhole and SOL land directly as the wrapper token in the user's account. Solana USDC on a chain whose gas token is USDC needs one more transaction, signed by the user, to turn the wrapper into gas. The quote tells you which signatures a route needs.Outbound (Rome → home):
RomeBridgeWithdraw(inrome-solidity) burns the asset on Rome. The user then claims it on the home chain with their own transaction.Transport: Circle CCTP for USDC and the Wormhole token bridge for ETH. Solana home chains use plain SPL transfers in and a Rome withdraw out. Wormhole is the inbound rail for ETH only. A generic Wormhole route exists for outbound only, and each asset on it has to be enabled by the Rome operators first.
Orchestration: the off-chain
rome-bridge-apiquotes a route, verifies the source-chain transaction, and sponsors the settle fee. It holds no funds and no keys. It can only trigger what the user already signed.
Build it
The API is public on devnet at https://bridge-api.devnet.romeprotocol.xyz. GET /v1/routes lists every live route (asset, rail, direction, source chain, Rome chain, speeds). The calls below are the same four the SDK wraps in @rome-protocol/sdk/bridge (requestQuote, registerTransfer, getTransfer, reportStep). The CLI runs the whole flow for you: rome fund and rome bridge for the transfers and rome verify --path from-home for a round trip, as described on the Rome CLI page.
Bring assets in
Quote the route. Send the user's source chain, asset, amount and addresses. Chains go in as CAIP-2 ids such as
eip155:84532;romeChainIdis your Rome chain. The older namesethereumandsolanaare still accepted but deprecated, and the API marks those responses with aSunsetheader. The full request and response shapes are in the API reference.curl -X POST https://bridge-api.devnet.romeprotocol.xyz/v1/quote \ -H 'Content-Type: application/json' \ -d '{ "asset": "USDC", "direction": "to-rome", "sourceChain": "eip155:84532", "romeChainId": "200010", "amount": "1000000", "sender": { "ethereum": "0xUSER" }, "recipient": "0xUSER" }'Amounts are base-unit integers in strings (
"1000000"is 1 USDC). ETH amounts are in wei and, on the way out, must be a multiple of 10,000,000,000 wei (the wrapper has 8 decimals); the API rejects anything finer. The response lists thesteps. The user signs the transactions of every step markeduserSigns: true, in step order: EVM transactions are inunsignedTxs, Solana instructions inunsignedTx. Sign them exactly as returned. Steps with nothing to sign are done by the sponsor once Circle or Wormhole has attested the transfer. The outbound claim is the exception, described below: the user builds it.Have the user sign. For a CCTP quote that is the USDC approval and the burn on the source chain. If the quote has an entry in
signatureRequests, the user also signs that EIP-712SettleAuthorizationonce the burn hash is known; fill in the burn hash and pass the result asuserSettleSigin the next call. Only the gas-token CCTP route has one. Wormhole ETH, wrapper-intent USDC and Solana routes have none.Register the transfer.
POST /v1/transferswith the quote'squoteIdandstep1TxHash, the hash of the last transaction in the first step (the burn), within 15 minutes of the quote. On the gas route, add the settle signature asuserSettleSig. The API refuses a full quote object. It checks that the transaction on the source chain matches the stored quote and returns a transferid.Poll
GET /v1/transfers/{id}every few seconds untiloutcomeiscomplete, and handlefailedandexpired. The user is then funded on Rome and can use your app. A complete transfer can carry adegradationnote with adegradationReason, so check them before you tell the user the gas or wrapper balance arrived.
Solana home chains follow the same shape with different steps. The user sends an SPL transfer to their Rome account's token account. SOL arrives as wrapped SOL after that one transfer. On a chain whose gas token is USDC, such as Hadrian, USDC needs a second step: a Rome transaction the user signs that turns the landed wrapper into native gas. Any other SPL token goes through the spl-solana-to-rome route, which takes the mint in splAsset.
Take assets back out
Bridging out is not the inbound flow run backwards. It has more than one signature, and the user finishes it on the home chain. Quote it with direction set to from-rome. sourceChain names the non-Rome side as a CAIP-2 id, and the burn goes to that chain. destinationChainId is optional and must agree with it when you send it. The older name ethereum still means Ethereum Sepolia:
For USDC over CCTP the quote returns two steps, and the user signs both:
On Rome, two transactions in order. The first grants
RomeBridgeWithdrawdelegate rights over the user's wUSDC on Solana (approve_spl). The grant covers exactly the amount of this burn, so the quote includes it every time and the user signs it before each burn. The second burns the wUSDC throughRomeBridgeWithdraw, which starts the CCTP transfer. Register the transfer with the hash of the burn. The burn spends wUSDC, the token the quote names asburnToken, not the native gas USDC. Funds that came in as gas are not what gets burned, so for a round trip bring USDC in withintent: "wrapper".On the destination chain, the claim. Poll
GET /v1/transfers/{id}until step 2 isready. It then carries themessageandattestation. The user callsreceiveMessage(message, attestation)on Circle's message transmitter on the destination chain (the quote names the transmitter and the CCTP domain). Nothing is sponsored here, so the user needs gas on that chain. Report the claim hash withPOST /v1/transfers/{id}/steps/2.
ETH out of Rome over Wormhole is not offered on Hadrian or Rubicon today. Hadrian lists ETH over Wormhole toward Rome only. Rubicon lists no ETH route.
Withdrawing to a Solana address has no claim step. USDC is a single Rome transaction that withdraws to the user's Solana account. SOL is one Rome step with three transactions: the same delegate grant over wSOL, an optional creation of the recipient's wSOL token account on Solana (skipped when it already exists), and the withdraw through RomeBridgeWithdraw.
Outbound transfers need no activation step. A CCTP burn creates a message account on Solana, and that account needs rent. The bridge contract's own Solana account pays that rent. Just before its CPI call, the contract calls swap_gas_to_lamports: the transaction's Solana fee payer fronts the lamports, and the user is billed for them in gas in the same burn transaction. A new wallet can make its first outbound transfer with no earlier setup. RomeBridgeWithdraw is at version 13.0.0 on Hadrian and on Rubicon today. Outbound quotes carry no activation or top-up step, so your app does not need to check the user's account before the first quote. Inbound transfers need no activation either. The rome CLI (0.11.0) still has its own check. rome bridge --to (without --dry-run) reads the lamports of the user's external-authority account on Solana. If it holds less than 15,000,000 the command stops and tells you to run rome activate <chain>, which pays 2 USDC on Hadrian through the SimpleActivator contract. rome verify --path from-home makes the same check before it starts. The contract does not need that activation.
Read the code
appia — a from-home app: users bring USDC from their home chain and use Rome-side DeFi without leaving it.
rome-bridge-api — the orchestrator (quote → verify → sponsor).
What's next
Getting funded — the same bridge path funds a fresh dev wallet.
Deploy Solidity — put your app on Rome.
Last updated
Was this helpful?