Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gcharang/mmtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 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 --recurse-submodules https://github.com/gcharang/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

About

Bash CLI tools for MM2

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%