2 stable releases

1.3.1 Nov 11, 2022

#15 in #aid

Custom license

170KB
5.5K SLoC

rubi-rs

Description

rubi-rs is an SDK which allows users to transact on the Rubicon protocol, a limit order book market on Optimism.

Crates.io Rubi documentation Discord chat

Risk Disclaimers

SDK Disclaimer

This codebase is in Alpha and could contain bugs or change significantly between versions. Contributing through Issues or Pull Requests is welcome!

Protocol Disclaimer

Please refer to this for information on the risks associated to the Rubicon Protocol.

Documentation

Documentation for rubi-rs can be found on Crates.io. Documentation for the Rubicon protocol can be found here

Features

Feature Flags

  • aid: Enables support for the Market Aid contract (currently internal to the Rubicon team)
  • full: Enables all of the following features.
  • streaming: Enables event streaming via flume. Requires a websocket endpoint
  • ierc20: Enables ERC-20 support.

Beta

  • Basic Rubicon v1.3 Market support
  • Basic Rubicon v1.3 Pair support
  • Basic Rubicon v1.3 BathHouse support
  • API-Wrapped Rubicon v1.3 Market support
  • API-Wrapped Rubicon v1.3 Pair support
  • API-Wrapped Rubicon v1.3 BathHouse support
  • Full tracing support
  • Optional ERC-20 support

Future

  • Full event streaming/broadcasting support for Rubicon v1.3 events
  • Uniswap V3 support

Versioning

This SDK is still in alpha. However, in order to maintain consistency with the Rubicon protocol, we follow the convention that the major and minor version numbers match the major and minor version numbers of the protocol, while the patch version number denotes same-version patches and upgrades to the SDK.

License

rubi-rs is licensed under the Apache License (Version 2.0). See LICENSE.txt for details.

Dependencies

~20–34MB
~525K SLoC