Mochimo Install

Jun 26th, 2018
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Stolen from Mochimo Slack
  4. Mochimo Beginner's Guide.
  6. Welcome to the Mochimo Beta Test!
  9. You must read and agree to the LICENSE.TXT before proceeding.
  11. Basic System Requirements:
  12. Ubuntu 16.04 LTS 64-bit
  13. 2+ Processor Threads (if running as VM)
  14. 1+ GB of System Memory
  15. Port 2095 forwarded through your router to your mining/wallet box
  17. Networking Notes:
  18. The mochimo node is a "server" in the conventional sense, and must have direct
  19. access to the internet. The port that Mochimo TestNet operates on is TCP 2095.
  20. If you are running the software behind a firewall, you will need to permit
  21. inbound connections on TCP 2095. If you are running the software behind a
  22. router performing NAT, such as with a home internet connection, you will need
  23. to configure a static private IP on your Linux box, and Port Forwarding of port
  24. TCP 2095 to static private IP.
  26. Configuring your Miner:
  27. The recommended setup is an installation of Ubuntu 16.04LTS. This can be accomplished
  28. either by Virtualization software or a dedicated install. The choices is yours,
  29. this paragraph will go over configuring a static IP address on your Miner. Once
  30. Ubuntu is installed, open a terminal windows and type ifconfig to find your IP
  31. address (it should look something like or and remember it!,
  32. Now, find the Settings "gear" icon on the quick launch bar on the left hand side
  33. of the screen and click it. In the System Settings window, click on the Network
  34. folder icon to get to the Network Settings window. Select the interface you are
  35. using to connect. (Either Wired or Wireless) then select Options (Button on the
  36. bottom-right). On the Editing Connection window, select IPv4 Settings. In the
  37. drop-down window under Method: Select Manual. Then to the right of the Addresses
  38. window, Click on Add. This will allow you to type in the Addresses window. Type
  39. the IP address you found earlier in the terminal window. Hit the Tab key and type
  40. the number 24, Tab again and put in your router's IP address (this is usually the
  41. same as your IP address if you replace the last set of digits with a 1 - e.x. IP
  42. Address=; Router= You will also need to enter a DNS Server.
  43. If you don't know what your ISP uses, you could always use Google's DNS Servers:
  44. and
  46. Port forwarding instructions:
  47. These are the basic instrucions for how to forward a port through you router
  48. to your mining rig. The details will vary widely from router to router. Below
  49. is a website that has specific instructions for MANY devices including
  50. screenshots. But in a nutshell...
  51. First make sure that if your rig is a VM, that it is set to Bridged Mode in
  52. the network settings. Your mining rig needs to have an IP address that your
  53. router can see. Once that is done open a terminal on your rig (Ubuntu:
  54. Ctrl-Alt-T) and type: ifconfig (and then hit Enter.) Somewhere in that
  55. output (depending on how you are setup) is your IP address. It should look
  56. something like: or which is what we "programed" it to
  57. be in the previous step . From now on your local IP address will be referred
  58. to as: XX.XX.XX.XX
  59. Once you have this, it's time to find your router! AKA, your gateway.
  60. Here is the website where you can find instructions on how to forward a port
  61. for your specific router:
  63. The basic steps are that you have to tell the router the IP address you want
  64. traffic from the open port to go to (XX.XX.XX.XX), the Internal and External
  65. port that traffic should be directed through (2095) and the protocol to use
  66. (TCP or BOTH). Once you THINK you are done, visit this site to see if it worked:
  68. and enter 2095 in the port dialog box to see if you are open.
  69. WARNING: this might take a while, so be patient if it says closed at first. If
  70. you really are closed, you may still be able to see the network, but you won't
  71. be able to mine, and your server will continually restart...
  72. If everything checks out, you are ready to go!
  74. First, unpack the tarball like this:
  75. tar zxvf main-net*.tgz && cd mochi
  77. Compiling Instructions:
  78. The software includes a script for compiling the software, and installing the
  79. binaries in the ./bin directory. To compile:
  80. cd ./src
  81. ./makeunx bin
  82. ./makeunx install
  84. Initial Wallet Instructions:
  85. cd ../bin
  86. IMPORTANT: You should create an address "maddr.dat" using the wallet before
  87. you start your miner, or you won't earn any mining rewards.
  91. When you compile the source code using "makeunx install" it will also compile
  92. the text-based wallet software. Here follows basic instructions on how to
  93. use the text-based wallet. Note, Mochimo currently has a gorgeouss GUI
  94. wallet under production, called "Mojo", and you can see an example of that
  95. on the website. However, beta testers will have to just use the basic text
  96. interface for now.
  98. Create Your Wallet File:
  100. To start, from the ./bin directory, invoke the wallet with the following
  101. command:
  103. ./wallet -p2095 -n
  105. 1. You will be prompted to choose a name for your wallet, we suggest "mining".
  106. 2. You will be prompted for a password. Your wallet will be encrypted 100% of
  107. the time. This password will be used to decrypt the wallet, don't lose it.
  108. 3. You will be asked to enter some random text to help randomize your wallet
  109. seed. You do not need to memorize this information.
  110. 4. You will be asked to pick a filename. We recommend mining.wal.
  111. 5. The wallet file is saved to disk and the wallet software exits.
  113. Open Your Wallet
  115. If you named your wallet "mining.wal", then open the wallet with the following
  116. command:
  118. ./wallet -p2095 mining.wal
  120. You will be prompted to enter your password. If you enter this incorrectly,
  121. the system will not tell you, but the name at the top of the wallet when you
  122. open it will not say "Mining", but rather some garbled gibberish. The reason
  123. for this is the password is a decryption key and is not stored in the wallet
  124. itself. If you enter it wrong, the wallet will still decrypt using the wrong
  125. key, and the result will be garbage. You know you entered it correctly if the
  126. wallet name you chose displays at the top of the screen.
  128. Creating a mining address:
  130. 1. From the main menu, select option 4 to create an address. You will be
  131. prompted to name it. We suggest calling it "mining address".
  133. 2. Select "n" to the Add tag (y/n) question.
  135. 3. Select option 2, to display your address entries.
  137. 4. Select option 6, to check the balance on this new address. You won't have
  138. any coins yet.
  140. 5. Now let's save this address to a file, so that we can start mining and have
  141. our block rewards go to this address.
  143. 6. Select option 7, to export. You will be prompted to select the index number
  144. of the address you want to export. In this case it will be index 1, since
  145. it's the only address you have. Type 1 and hit enter.
  147. 6. You will be prompted to select a file name. The file has to be named:
  148. maddr.dat
  150. 7. You will be told that maddr already exists if you've done everything
  151. correctly. Enter Y to overwrite the default mining address with your new
  152. mining address.
  154. 8. You will be asked whether to save the Balance. Please select "N".
  156. 9. Now type 0 to exit, and go invoke your miner.
  158. You are ready to mine!
  161. Starting the Node/Miner:
  162. Change to the ./bin directory, and invoke the miner with the following command:
  163. ./gomochi d
  165. Stopping the Node/Miner:
  166. Type CTRL+C and wait a moment for the monitor to appear. Hit ? and <ENTER> to
  167. see options. Type q and <ENTER> to exit. Wait a few moments for the software
  168. to exit gracefully.
  170. Resuming the Miner:
  171. You may resume from where you left off (so that you don't have to resync your
  172. blocks) by typing:
  173. ./resume d
RAW Paste Data