Overview

Rubicon Docs

FAQ

New to Rubicon? Visit our Frequently Asked Questions

Guides

Learn to swap, Bridge, and provide liquidity on the Rubicon App!

RubiconMarket

Overview of the order book contract

APIs

SDKs and Subgraphs

What is Rubicon?

Rubicon is an order book protocol for trading ERC-20 (opens in a new tab) tokens, built on Ethereum layer 2 (opens in a new tab) (L2) networks.

Protocol Overview

RubiconMarket.sol is the core order book contract. It implements order books and a matching engine for peer-to-peer trading of ERC-20 tokens.

RubiconRouter.sol routes token swaps and enables multi-hop swaps if two tokens do not have an underlying order book. It also has helpful view functions for reading data from RubiconMarket.sol and contains wrapper functions for handling native ETH throughout the protocol.