11. Ship to Rubicon
Take your dual-lane app from Hadrian to the Rubicon mainnet, with the launch checklist, the limits to design around and how to report a problem.
Everything so far ran on Hadrian, where the USDC is test money. Rubicon is the mainnet. The contract and the app are the same. The network values change, the money is real, and a few tools do not know Rubicon yet. This lesson takes you through the move.
What you'll learn
What changes between Hadrian and Rubicon, and what does not.
Where to read Rubicon's network values, and which tools cannot target it yet.
The launch checklist for an app with both lanes.
The execution limits to design around before real users arrive.
How to report a security problem.
Before you start
Finish 10. Bring users and funds from other chains. Your dual-lane app should pass its full round trip on Hadrian.
Have a deployer wallet with real USDC on Rubicon. Bring it in with the mainnet bridge from lesson 10. There is no faucet.
Have a Solana mainnet RPC from a provider you have an account with. The SDK sends the signed Solana transaction to the RPC you give it.
Have a Solana mainnet wallet that signs v1 transactions, with a little SOL for fees and a small amount of USDC, for the Solana-lane round trip.
The lesson
Step 1. Know what changes
The EVM is the same, so the same compiled artifacts deploy. Three things change:
The chain ID, RPC, Rome program ID, Solana USDC mint and wrapper addresses. Take them from Rubicon and Contract Addresses, which stay current.
The gas price. It is real USDC and it is higher than on Hadrian. It varies, so read
eth_gasPriceinstead of assuming a number.The Solana side. Your Solana-lane app now talks to Solana mainnet, not devnet.
Rubicon is in the public registry from v0.3.0, so your app can read its chain values and wrapper addresses there, as it does for Hadrian. The Rome CLI (v0.12.0) and create-rome-app still pin registry v0.2.0, which has no Rubicon entry, so they cannot target it. That includes rome verify. For the Solana connection, use your own mainnet RPC, not the public one the registry lists. The SDK's deps map is in Open your Solidity contract to Solana users.
Step 2. Check the design against the limits
These limits are the ones that most often change a design. They are listed once here and in full on Known Limitations.
SELFDESTRUCTis not supported, and any opcode Rome does not implement aborts the whole transaction.The gas value passed to
CALLis not enforced and there is no 2300-gas stipend. Stipend-based reentrancy protection does not work. Use reentrancy guards and checks-effects-interactions.One atomic transaction has about 1.4M compute units, 64 accounts and 4 KB. Legacy-track CPIs cannot run in an iterative transaction.
CPI depth is 4.
debug_traceTransactionis not available. Debug witheth_calland the explorer.Each chain has a single operator. Iterative execution locks the accounts it touches for a few seconds, so a heavily shared account becomes a bottleneck.
Run the vault through this list. If your own contract makes Solana calls, lesson 5 and Constraints are the check.
Step 3. Walk the launch checklist
The checklist in the guide has seven items. They are in the order you do them:
Deployed on Hadrian, and the EVM path works from MetaMask.
Every value-moving entry point is ERC-20 based and uses the canonical wrapper.
A Solana wallet completes the full round trip on Hadrian, through the SDK lane, or through the relay when a call is iterative.
Each Solana-lane call sits under the atomic budget, or is routed through the relay.
The wrapper grant is in the first-deposit flow of both lanes.
Source verified on the explorer.
Redeployed on Rubicon with the mainnet wrappers, and one real round trip run.
The checklist with its notes is at the end of Open your Solidity contract to Solana users. Lessons 3 to 9 covered items 1 to 6. Item 7 is this lesson.
Step 4. Deploy and verify on Rubicon
Deploy with the same tools as lesson 3, with the Rubicon network values. Estimate every write with eth_estimateGas and never hardcode 21,000, because most of a write's cost is creating Solana accounts. Fund the deployer with a few USDC before the first deploy. Then verify the source with the mainnet verifier, whose endpoint is on the Rubicon page. Process: Verify Contracts.
Step 5. Prove both lanes with real money
Run one round trip from each lane with a small amount.
EVM lane: wrap, grant, approve, deposit, withdraw.
Solana lane: provision, fund leg, grant, approve, deposit, withdraw, sweep leg.
Use a Solana wallet you have checked signs v1 transactions on mainnet. The guides document wallet support for Hadrian only, so this run is also your test. Read computeUnitsConsumed for every Solana-lane step and compare it to your Hadrian numbers.
Step 6. Publish funding instructions and support contacts
Point users at the mainnet bridge from lesson 10 so they can fund themselves. Watch your contract on the Rubicon explorer.
If you find a security vulnerability in Rome, report it privately. Email the address on Responsible Disclosure or open a ticket in the Rome Discord. Do not disclose it publicly before a fix is deployed, and do not exploit it beyond what shows the problem. For general questions, use the channels on Community.
Check yourself
Your outcome: a verified contract on Rubicon and two transactions to show for it.
Your contract's source shows as verified on the Rubicon explorer.
One deposit from a MetaMask address and one from a Solana wallet appear on the explorer, and each vault balance matches its deposit. After you withdraw both, the balances are zero and the tokens are back with their owners.
For the Solana-lane deposit, you have the compute units from its Solana receipt.
Then answer:
Why can
rome verifynot run against Rubicon today?Why does a contract that relies on
transfer()for reentrancy safety need a change?
Next
Link your Rubicon contract to your app in Arena. The app moves to Live.
Last updated
Was this helpful?