Skip to content

seanPhill/atomicDEX-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Rewrite goals

MM2 README

Project structure

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

  1. 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).
  2. (Optional) OSX: install openssl, e.g. brew install openssl.
  3. (Optional) OSX: run LIBRARY_PATH=/usr/local/opt/openssl/lib
  4. Run
    rustup install nightly-2019-08-05
    rustup default nightly-2019-08-05
    rustup component add rustfmt-preview
    
  5. (Optional) Win: run marketmaker_build_depends.cmd to build dependencies.
  6. Run cargo build --features native (or cargo build --features native -vv to get verbose build output).

Help and troubleshooting

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.

About

This is the official AtomicAPI (atomicDEX API) repository

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 94.9%
  • CMake 2.0%
  • C++ 0.9%
  • Shell 0.6%
  • JavaScript 0.6%
  • Dockerfile 0.4%
  • Other 0.6%