AtomicDEX Marketmaker V2
This repository contains the
work in progress code of brand new Marketmaker version built mainly on Rust.
The current state can be considered as very early alpha.
Use with test coins only. You risk to lose your money in case of trying to trade assets with real market cost.
mm2src - Rust code, contains some parts ported from C
as is (e.g.
lp_ordermatch) to reach the most essential/error prone code. Some other modules/crates are reimplemented from scratch.
iguana - Old C code that is still used and linked to Rust binary. According to gradual port goals this code will be either ported/removed in favor of Rust.
How to build
- Tools required: Cmake, Rustup. You will also need your OS specific build tools (e.g. build-essentials on Linux, XCode on OSX or MSVC on Win).
- (Optional) OSX: install openssl, e.g.
brew install openssl.
- (Optional) OSX: run
rustup install nightly-2020-02-01 rustup default nightly-2020-02-01 rustup component add rustfmt-preview
- (Optional) Win: run
marketmaker_build_depends.cmdto build dependencies.
cargo build --features native(or
cargo build --features native -vvto get verbose build output).