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.
For convenience, you can download precompiled builds for your OS:
- 🪟 Windows: Download Windows Installer
- 🍎 macOS: Download macOS dmg
- 🐧 Linux: Download Linux Bundle
Make sure to always verify the source and checksum before running.
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.
- Tools required: 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
LIBRARY_PATH=/usr/local/opt/openssl/lib - Run
rustup install nightly-2021-12-16 rustup default nightly-2021-12-16 rustup component add rustfmt-preview - Run
cargo build(orcargo build -vvto get verbose build output).
If you have any question/want to report a bug/suggest an improvement feel free to open an issue or reach the team at Discord dev-marketmaker channel.
Contribution guide
Setting up the environment to run the full tests suite
Git flow and general workflow