@ -38,115 +38,27 @@ First we need to setup the Hush configuration on our computer.
Change the ```rpcuser``` and ```rpcpassword``` above to something unique as it will be used later.
Note: If you had more than 1 ASIC, then each one would get it's own rpcallowip line item.
1. Then start ```hushd``` at the command line. It needs to be on your desktop computer with the Hush blockchain completely downloaded before you continue. You can check its status with the following command ```hush-cli getinfo | grep synced``` and you want the value to be true before continuing.
1. Next we start the hush daemon (hushd) at the command line with special options to enable a stratum server.
### Setup a NOMP
I didn't know what NOMP meant, so I looked it up and it stands for Node Open Mining Protocol. This software will let our ASIC miner connect to the hushd running on our computer, so here we go...
1. We'll use [KNOMP](https://github.com/webworker01/knomp), which is a NOMP based stratum for Komodo based Equihash coins like Hush.
1. We git clone it and change to the ```knomp``` directory.
1. Your desktop computer needs to download & sync the Hush blockchain completely before you continue. You can check its status with the following command after waiting a couple of minutes after hushd has been started up ```hush-cli getinfo | grep synced```. When that value is true, then continue.
1. We need some t-addresses (yes, transparent garbage) for the mining software, so generate some new t-addresses with this command:
1. We need to get a t-addresses (yes, transparent garbage) to be able to mine solo. We generate a new t-address with this command:
```
hush-cli getnewaddress
```
1. Now edit hushsolo.json and configure it as follows.
** IMPORTANT: the zAddress and tAddress below need to come from the same wallet**
1. We run ```docker-compose up``` at the command line in the KNOMP directory once we configure as above.
1. Double check by opening 127.0.0.1:8080 in your web browser to check.
### ASIC Miner setup
1. Open the web UI and login in via your web browser.
@ -160,8 +72,8 @@ I didn't know what NOMP meant, so I looked it up and it stands for Node Open Min
1. Setup your "pool" as follows with this example using 192.168.33.101 as the desktop computer's IP address.
- Under Pool 1
- Change URL to "http://stratum+192.168.33.101:3333"
- Change Worker to a z-address from your Hush wallet. It's a good idea to create and use new addresses every so often for better privacy.
- Change URL to "stratum+tcp://192.168.33.101:19031"
- Change Worker to the newly-generated-t-address-you-own from your Hush wallet. It's also a good idea to create and use new addresses every so often for better privacy.
- Change Password to whatever you want, some just use "X"
- Under Pool 2 & Pool 3 we leave as-is
@ -170,24 +82,12 @@ I didn't know what NOMP meant, so I looked it up and it stands for Node Open Min
1. Success as you hear your miner spin up! Check the Miner Status in the web UI to verify that it is actually mining.
1. Also check the status of 192.168.33.101:8080 in your web browser and click around to see that it is working!
1. Also check the command line on the desktop computer to see any messages that it is working.
## To-Do Items to Clarify
* Not sure if the address & tAddress are the same t-address in the pool_config file.
* Not sure if the ASIC miner "leaving" and "re-joining" the pool constantly is normal or a setting that needs to be changed.
* Have to test this further...
## Mining support
Join us in our Hush mining channel on Telegram, which can [be found here](https://t.me/minersgonnamine). Most miners are not rocking "Hush Solo" style, so make sure you mention that too.
##### Credits
Hush puppies like giving credit when it's due,
1. [This resource](https://github.com/zone117x/node-open-mining-portal) was a great help with writing this as it had in-depth explanation of each option in all of the config files we configured. If you need any other info on certain options, then take a look thru their write-up.
1. [This repository](https://github.com/z-classic/z-nomp/tree/master/pool_configs) is an old Z-NOMP with pool configurations, so these were helpful to see other options, like those special _comments.