Now, let's run the assets. This will start ALL of the assets might take a day or so to sync, depending on system speed/network connection.
_If you are setting up a single chain to mine and/or don't know what pubkey is, skip this step and use the startup params for the komodod daemon as provided by the individual coin's team._
_If you are setting up a single chain to mine and/or don't know what pubkey is, skip this step and use the startup params for the hushd daemon as provided by the individual coin's team._
Now, let's build our stratum and run it. This will install the pool and configure it for all the assetchains on your system automatically. It must be run from the same user as the coin deamons were launched, as it pulls the rpcuser/pass from the conf file in the home directory.
Edit line 3 in so that it has your own KMD based address, CTRL-X then Y to save and exit
Edit line 3 in so that it has your own HUSH based address, CTRL-X then Y to save and exit
We need to generate the coins files (coin daemon must be running!): `gencfg.sh <coin name>`
You can run just gencfg.sh with no coin name to use the assetchains.json in komodo/src directory for all coins. Make sure you edit the template with the correct values you want before running the config generator.
You can run just gencfg.sh with no coin name to use the assetchains.json in hush3/src directory for all coins. Make sure you edit the template with the correct values you want before running the config generator.
Finally we are ready to start the pool software
@ -160,13 +156,12 @@ In your coins file add:
```
### Sapling and Sapling Payment Support
In coins/pirate.json file:
In coins/hush.json file:
```
"privateChain": true,
"burnFees": true,
"sapling": 152855
"sapling": true
```
Please note, PIRATE sapling became active around 2018-12-15 01:15UTC at block 152855 Now that this has passed this can just be set to `"sapling":true`