whatisgithub

What is rome-dex?

rome-protocol/rome-dex — explained in plain English

Analysis updated 2026-05-18

1RustAudience · developerComplexity · 5/5Setup · hard

In one sentence

A decentralized exchange where one shared liquidity pool can be traded by both Ethereum-style and Solana wallets at once, with swaps, liquidity pools, farms, and orders.

Mindmap

mindmap
  root((Rome DEX))
    What it does
      Token swaps
      Liquidity pools
      Concentrated liquidity
      Farms and orders
    Tech stack
      Rust
      Solana programs
      Next.js
      Rome Protocol
    Use cases
      Trade from either wallet type
      Provide liquidity
      Stake LP tokens
    Audience
      Web3 developers
      DeFi builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Trade tokens on a shared liquidity pool using either MetaMask or Phantom.

USE CASE 2

Provide liquidity or open a concentrated liquidity position and earn trading fees.

USE CASE 3

Stake liquidity provider tokens in a farm to earn additional rewards.

USE CASE 4

Study how one Solana program can serve both Ethereum-style and Solana wallets identically.

What is it built with?

RustSolanaNext.jsTypeScriptRome Protocol

How does it compare?

rome-protocol/rome-dexabc3dz/mixxxabyo-software/ferro-stash
Stars111
LanguageRustRustRust
Setup difficultyhardmoderatemoderate
Complexity5/52/54/5
Audiencedevelopergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires deploying Solana programs plus EVM contracts and configuring chain and cluster settings.

The core swap program is based on Apache-2.0 licensed code, overall project licensing details are not fully stated in the README.

So what is it?

Rome DEX is a decentralized exchange where a single shared pool of tokens can be traded by both Ethereum-style wallets like MetaMask and Solana wallets like Phantom, without any bridging or wrapped tokens involved. It runs on Rome Protocol, a system that lets Ethereum-compatible chains operate directly inside the Solana network, so both wallet types end up touching the exact same liquidity. The app supports the core features people expect from a modern exchange: simple token swaps, browsing and creating liquidity pools, concentrated liquidity positions where a user picks a price range for their funds, farms where liquidity provider tokens can be staked to earn rewards, and both limit orders and recurring purchase orders. Every one of these features works the same way regardless of whether someone connects with a Solana wallet or an Ethereum-style wallet. Under the hood, the trading engine is a Solana program based on a well known, audited constant-product swap design, extended so that it does not care whether the wallet controlling a trade is a native Solana wallet or an Ethereum-style wallet routed in through Rome. This means a liquidity provider token minted while trading from one type of wallet can be used and understood by the other type of wallet as well, since it behaves as both a native Solana token and an Ethereum-style token at once. The project is organized into several parts: the core Solana program for the exchange, a separate program for concentrated liquidity, a farming program for staking rewards, an orders program for limit and recurring trades, smart contracts that optimize Ethereum-side swaps, a shared code library, a testing setup that checks both wallet paths, and the web application itself, built with Next.js. The system is designed so that new blockchain networks can be added mostly through configuration changes rather than rewriting the app, and pools created on one network are automatically available to other networks sharing the same underlying Solana cluster.

Copy-paste prompts

Prompt 1
Explain how Rome DEX lets both MetaMask and Phantom wallets trade against the same pool.
Prompt 2
Walk me through the different parts of this repository, like program, clmm, farm, and orders.
Prompt 3
Show me how to run the rome-dex app locally and connect a wallet.
Prompt 4
Help me understand how a liquidity provider token can act as both an SPL token and an ERC-20 token.
Prompt 5
What is concentrated liquidity, and how does the clmm program in this repo implement it?

Frequently asked questions

What is rome-dex?

A decentralized exchange where one shared liquidity pool can be traded by both Ethereum-style and Solana wallets at once, with swaps, liquidity pools, farms, and orders.

What language is rome-dex written in?

Mainly Rust. The stack also includes Rust, Solana, Next.js.

What license does rome-dex use?

The core swap program is based on Apache-2.0 licensed code, overall project licensing details are not fully stated in the README.

How hard is rome-dex to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is rome-dex for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.