1. What you're building on Rome
Rome makes EVM and Solana one market. How one contract serves EVM and Solana wallets, and the app you build in this course.
Rome makes EVM and Solana one market. You write Solidity, deploy it with Hardhat or Foundry, and the contract lives on Solana. This lesson gives you the picture you need for the other twelve. You will build a USDC vault that accepts deposits from EVM and Solana wallets.
What you'll learn
What Rome is, and why its state is Solana state.
The two wallet lanes: an EVM key and a Solana key, one contract.
What a dual-lane app is, and the example you build in lesson 9.
The two networks you use: Hadrian for testing and Rubicon for production.
Before you start
This is the first lesson. Read the course map so you know where the course ends. Nothing else is needed. You do not need a wallet yet.
The idea
EVM and Solana are two markets. Rome makes them one.
Rome runs EVM chains inside Solana, so any EVM protocol can deploy once and open itself to Solana wallets. A Solidity contract on Rome calls Solana programs directly, so EVM users reach Kamino and Solana DEXes. On testnet, Solgate connects Solana assets to AggLayer EVM chains in both directions. SPL token registration is permissionless. USDC uses CCTP.
Rome runs Solidity contracts by embedding an EVM interpreter in a Solana program. When you deploy a contract, its code and storage become Solana accounts. When someone calls it, the interpreter runs inside the Solana runtime. A call can reach any Solana program in the same transaction, and if any step fails, the whole transaction reverts.
The state is Solana state. Inside Rome, a wallet's SPL token and its ERC-20 wrapper read the same token account, so nothing is minted or locked between them.
Read One market for the idea in four capabilities and What is Rome? for the full overview. Skim Why Rome? if you want the comparison with other approaches.
The two lanes
Two kinds of user can call the same contract.
Wallet
MetaMask, or any EVM wallet
A Solana wallet
Key
An EVM key
A Solana key
Identity in your contract
The usual address
A synthetic address derived from the Solana key
How the call travels
Signed EVM transaction, sent to the Rome proxy
Solana transaction the wallet signs, sent to Solana
In both lanes msg.sender is an ordinary address and the contract is the same one. A Solana user does not need an EVM key. Rome never links the two identities. A MetaMask key and a Solana key are two different accounts, as two MetaMask keys would be.
How Solana and the EVM meet on Rome explains the synthetic address, who signs, and who pays. You come back to it in lesson 4. For now, read its first two sections.
The app you build
A dual-lane app is one Solidity contract that EVM users and Solana users both use directly. The example in this course is a small vault. A user deposits USDC and later withdraws it.
The contract is a normal ERC-20 vault. It pulls tokens with transferFrom and returns them with transfer. It holds nothing Rome-specific. A Solana user's USDC shows up on the EVM side as the ERC-20 wrapper of that SPL token, so the same two calls work for both lanes.
You build it in lesson 9. The guide behind it is Build a dual-lane app. Lessons 3 to 8 give you each piece it needs:
Deploying to Hadrian (lesson 3).
How Rome executes a call (lesson 4).
Calling Solana programs (lesson 5).
Tokens and wrappers (lesson 6).
The Solana wallet lane (lesson 7).
The other direction, your Solana program reached from EVM wallets (lesson 8).
Lessons 10 and 11 take the app to real users and real money. Lesson 12 is a short overview of the bigger step, your own Rome chain.
The next lesson, What you can build, shows the use cases this pattern serves.
The two networks
Hadrian is the public testnet. It settles on Solana Devnet, and its USDC is test USDC. You build everything here first.
Rubicon is the mainnet. It settles on Solana mainnet, and its gas is real USDC.
Both pay gas in USDC. Rubicon runs the same EVM, so the same contract artifacts deploy to both. Chain ids, RPC URLs and the explorer links are on Hadrian and Rubicon. The lessons send you there instead of repeating them.
See it running
Rome's apps show the idea at work. Apps on Rome lists them. Two are worth opening now:
Rome DEX, one pool that EVM and Solana wallets both trade against.
Aerarium, a lending market that both kinds of user supply to and borrow from.
Open one and look at its wallet connect screen. It offers both wallet types.
Check yourself
Answer these without looking, then open the answers.
Where does a contract's code live after you deploy it on Rome?
A Solana user and a MetaMask user call your vault. What does the vault get as
msg.senderfor each of them?Which network do you build on first, and why?
Next
Last updated
Was this helpful?