Skip to content

The smart contract code base for the open-source Rubicon protocol v1.

License

Notifications You must be signed in to change notification settings

RubiconDeFi/rubicon-protocol-v1

Repository files navigation

GitHub Workflow Status Discord

Docs

For detailed documentation of the Rubicon protocol please visit our docs

Rubicon Protocol

Rubicon is an open order book protocol for Ethereum. The protocol is Layer 2-native and will launch across multiple L2 networks such as Optimism, Arbitrum, zkSync, and Polygon.

The Rubicon protocol is currently live on the Optimistic Ethereum network. You can use it today on the Rubicon App.

Protocol Overview

A number of key smart contracts house the primary operations of the Rubicon protocol. Please see below for an overview of our current smart contract infrastructure.

Rubicon v1_ RubiconMarket

At a high level, Rubicon revolves around a core smart contract RubiconMarket.sol that facilitates peer-to-peer trades of ERC-20 tokens using an open order book.

Rubicon Pools is a separate system of smart contracts that enables passive liquidity provisioning on the Rubicon order books.

Start Rubicon Protocol Locally

$ git clone https://www.github.com/RubiconDeFi/rubicon-protocol-v1.git   
$ cd rubicon-protocol-v1 && npm i
$ (in a separate instance) npm run ganache
$ npm run test