Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webworker01/mmtools

Bash CLI tools for MM2
https://github.com/webworker01/mmtools

atomicdex atomicdex-platform cli komodo komodo-platform mm2

Last synced: 3 months ago
JSON representation

Bash CLI tools for MM2

Awesome Lists containing this project

README

        

# 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.

* [AtomicDex MM2 API Docs](https://developers.atomicdex.io/basic-docs/atomicdex/atomicdex-api.html)
* [AtomicDex MM2 Repository](https://github.com/KomodoPlatform/atomicDEX-API)
* [AtomicDex Coins Repository](https://github.com/KomodoPlatform/coins)
* [AtomicDex Desktop](https://github.com/KomodoPlatform/atomicDEX-Desktop) (if you don't want to use CLI)
* [cipi's mmtools/mpm](https://github.com/cipig/mmtools) (additional cli tool for monitoring and updating order prices using various 3rd party apis)

![orderbook.png](./img/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
```