This guide will teach you how to run mm2.
It is assumed you already have already Setup MM2.
If you'd like to simplify this process, use MMTools.
The instructions use the program screen
to keep the process running in the background.
-
Open a Terminal.
-
Navigate to the directory with mm2.
In this case, we'll assume you followed the Build MM2 on Ubuntu guide:
cd atomicDEX-API/target/release
-
Source the userpass file:
source userpass
-
Start a screen to run mm2 in:
screen -S mm2
-
Start mm2 with the following command, replacing
<yourSeed>
with your seed:./mm2 "{\"netid\":7777, \"userhome\":\"/${HOME#"/"}\", \"passphrase\":\"<yourSeed>\", \"rpc_password\":\"$userpass\"}" &
-
Use
Ctrl + A
+Ctrl + D
to exit the screen.You can return to it at any point with
screen -r mm2
.
You can now start using MM2.