Quickstart

Deploy your first Solidity contract on Rome EVM in under 5 minutes.

Prerequisites

1. Add Rome Network to MetaMask

Open MetaMask → Settings → Networks → Add Network:

Field
Value

Network Name

Rome Devnet

RPC URL

https://montispl.devnet.romeprotocol.xyz

Chain ID

200002

Currency Symbol

RSOL

Block Explorer

2. Fund Your Wallet

Deposit devnet SOL to your Rome EVM address via the deposit UIarrow-up-right. Connect your Solana wallet (with devnet SOL) and your MetaMask, then enter the amount to deposit. The UI converts SOL to RSOL at 1:1 and credits your EVM address.

3. Create a Hardhat Project

Select "Create a JavaScript project" when prompted.

4. Configure Hardhat for Rome

Edit hardhat.config.js:

Export your MetaMask private key:

5. Write a Contract

Create contracts/HelloRome.sol:

6. Deploy

Create scripts/deploy.js:

Deploy to Rome devnet:

Expected output:

Your Solidity contract is now running on Solana.

What's Next

Common Errors

Error
Cause
Fix

insufficient funds

EVM address has no balance

Deposit SOL via the deposit UI

nonce too low

Transaction nonce mismatch

Reset MetaMask account (Settings → Advanced → Clear Activity)

execution reverted

Contract execution failed

Check contract logic; use eth_call to debug

Connection timeout

RPC endpoint unreachable

Verify network URL; check if devnet is operational

Last updated

Was this helpful?