Skip to content

webworker01/mmtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mmtools

Bash CLI tools for MM2

Scripts in this repo work together as a whole, please follow the setup steps before usage.

The scripts in this repo are meant to be an educational and functional interaction with the mm2 API. Each script contains in the beginning a link to the specific API call it is making so you can learn more details and create your own application to interact with the DEX.

orderbook.png

Setup

Developed & tested on Ubuntu 18.04

cd ~
git clone https://github.com/webworker01/mmtools.git
cd ~/mmtools

#build atomicDEX-API
./init

Init will help create a config file and ask if you want to generate a random wallet passphrase and userpass. If you do not want to use this, cancel the init script and first set up your own and run init again.

#edit the config file with your wallet passphrase and rpc password
cp config.example config
nano config

After the build is complete start the marketmaker daemon

cd ~/mmtools
./start

In another window run:

cd ~/mmtools
./electrum rick
./electrum morty

Ready to go!

./orderbook rick morty