Here is what you will find here in our documentation:
For Users and Casually Interested Readers Read our FAQ to see common questions about Rubicon. Our team is constantly adding more resources to these docs that make learning about Rubicon even easier! If you need support, please go to the #support channel in our Discord server. For Developers Here you will find technical documentation for the Rubicon protocol. This includes: - Dedicated pages for each of Rubicon's contracts (e.g. Rubicon Market) with an outline of key functions and parameters within each respective smart contract - A list of Rubicon Protocol Deployments with contract addresses - A list of Audits on the Rubicon Protocol - Tutorial for how to become a Rubicon Strategist and start using liquidity from Rubicon Pools - Instructions for starting the Rubicon Protocol locally
The Rubicon Protocol is a decentralized exchange protocol on the Ethereum blockchain. It enables the peer-to-peer exchange of tokens that adhere to the primary Ethereum token standard: ERC-20. On the Rubicon protocol, you can trade cryptocurrencies like ETH and WBTC, stablecoins like USDC or DAI, governance tokens like COMP or AAVE, or anything in between! Our hope is that the Rubicon protocol can replace traditional intermediaries and costly third parties with open-source code in order to democratize, open, and accelerate global financial markets. This is achieved through the deployment, development, and management of the Rubicon protocol's smart contracts, which are described throughout these docs. Rubicon DeFi, Inc. is a development company that designed, built, and launched the Rubicon Protocol and the Rubicon App. The Rubicon App is a simple web application for users to interact with and trade on the Rubicon protocol. Our development company built the Rubicon App so you do not have to manually interact with Rubicon's smart contracts using bytecode.
Rubicon will launch on Ethereum in the Summer of 2021, utilizing layer 2 scaling solutions for increased transaction throughput and reduced transaction fees. The first scaling solution Rubicon will launch on is Optimism. If you are interested in learning more, developing on the Rubicon protocol, joining the core team, or just want to reach us send a note to [email protected].
There are a number of key smart contracts that facilitate the operations of the Rubicon protocol. Please see below for an overview of our current smart contract infrastructure.
At a high level, Rubicon revolves around a core smart contract (RubiconMarket.sol) that facilitates the peer-to-peer exchange of digital assets. Additionally, Rubicon Pools has its own system of smart contracts that enables users to provide passive liquidity on the Rubicon order books.
$ git clone https://www.github.com/RubiconDeFi/rubicon_protocol.git$ cd rubicon_protocol && npm i$ npm i --save-dev [email protected]$ truffle init$ 'n' for overwriting contracts$ 'n' for overwriting migrations$ (in separate terminal) ganache-cli
Also make sure that you comment out the lines in truffle-config.js that say 'development: ' and include localhost under networks so that you can connect to Ganache.
$ truffle migrate -- deploys contracts to development network, i.e. localhost$ truffle test -- run the set of tests provided in the test folder of repo