├── LICENSE ├── README.md └── images ├── Consider-Eco3x-Pro4x-NoSSDC15-kWh.png ├── Eco3x-Pro4x-vs-NoSSDC15-nodevfee.png ├── Eco3x-Pro4x-vs-NoSSDC15.png ├── drplotter-components.png ├── drplotter-plots-summary-nodevfee.png ├── drplotter-plots-summary.png ├── drplotter-solver-harvester-server-farmer.png ├── eco3x-advantage.png └── pro4x-advantage.png /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2025 Chia Network Inc. 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | # DrPlotter: Your Go-To for Maximum ROI Chia Farming 6 | 7 | DrPlotter is an advanced, energy-efficient GPU plotter, solver, and harvester designed for the Chia Blockchain, with break-through rewards and efficiency optimized for consumer-grade hardware. 8 | 9 | - **Up to +442% Rewards**: Two compression modes offer a balance between optimal efficiency and optimal cost per eTB for maximum ROI. 10 | - **Enhanced Security**: Relies solely on public farmer keys, letting you safeguard your private keys. 11 | - **Effortless Remote GPU Use**: Enjoy a streamlined process for submitting proofs and the flexibility to use your GPU remotely with ease. 12 | - **Supporting the Chia Ecosystem**: By seamlessly integrating with the official Chia Farmers, DrPlotter plays a part in keeping the Chia network strong and decentralized. 13 | 14 | Offering Eco3x for enhanced energy efficiency and Pro4x for maximum plot size reduction you can achieve higher ROI than any other solution. 15 | 16 |

17 | 18 |

19 | 20 | 1: The 512 plot filter will be active until June 2024. During this period, the capacities supported by the 256 filter will be doubled. 21 | 2: At a plot filter of 256 only the 4090 has less W/eTB than standard plots on pro4x. 22 | 3: **SSD not required.** While you can use an SSD as an intermediary drive under most cases it will not improve plot time. 4090 @ 250W with PCIE 4.0 x 16 can plot in 5:30. 23 | 24 | ## The Eco3x Advantage 25 | 26 | Eco3x compression offers an energy-efficient solution for managing chia farms, especially with the upcoming chia plot filter of 256. The table below illustrates Eco3x's efficiency compared to traditional uncompressed plots. Eco3x significantly reduces hard drive space and energy consumption, leading to considerable savings in both hardware investment and operational costs. This makes it a highly effective option for Chia users, even those facing high energy expenses, to achieve exceptional ROI. 27 | 28 |

29 | 30 |

31 | 32 | 1: Using 0.6W per installed TB 33 | 2: The "Hardware Cost per ePiB" represents the actual costs of purchasing the necessary hardware for disks and GPUs. This is based on an estimated $16 per installed TB and $800 for a used 3090 GPU 34 | 35 | ## The Pro4x Advantage 36 | 37 | Pro4x compression significantly reduces hard drive needs for your plots to less than a quarter compared to uncompressed plots, marking a major leap in cost and space savings. By matching your hard drive capacity with your GPU's power, Pro4x achieves unmatched ROI. The table shows that with 4090 GPUs at full capacity on the 256 plot filter, you can efficiently run a 880 eTiB farm at just 35% the cost of a setup using regular plots. Notably, Pro4x enables over 1 ePiB of plots in a consumer PC case using only 14 hard drives, compared to the 56 drives a large server setup would need, enhancing space utilization, cost-effectiveness, and management simplicity. 38 | 39 |

40 | 41 |

42 | 1: Using 0.6W per installed TB 43 | 2: The "Hardware Cost per ePiB" represents the actual costs of purchasing the necessary hardware for disks and GPUs. This is based on an estimated $16 per installed TB and $1800 for a new 4090 GPU 44 | 45 | ## Strategic Efficiency: Eco3x and Pro4x vs. NoSSD's C15 46 | In the competitive landscape of chia farming, striking the right balance between energy consumption and cost per reward is key. Chia farming involves substantial initial setup costs but low ongoing expenses. The Eco3x and Pro4x solutions, developed with these economic dynamics in mind, optimize for a slight increase in energy use to significantly reduce the cost per reward across various setups and market conditions, offering a financial advantage. 47 | 48 | The performance of these solutions is contrasted with NoSSD's leading C15 plot format under a fixed $10,000 budget. Analysis shows that both Eco3x and Pro4x not only improve chia earnings but do so with an acceptable increase in energy consumption. Specifically, Eco3x delivers an extra 0.07 xch for 4.79 kWh more than C15, while Pro4x adds 0.10 xch for an additional 11.21 kWh. 49 | 50 |

51 | 52 |

53 | 54 | 1: Hardware Cost includes expenses for disks and GPUs, calculated at $16 per installed TB and $1600 for a 4090 GPU. GPU costs are adjusted to utilization—e.g., at 38% utilization, only 38% of the GPU cost is counted. This approach ensures costs are proportionally represented for a fair comparison within a $10,000 investment. 55 | 2: For NoSSD a 3.5% fee from NoSSD is deducted from rewards. 56 | 57 | By evaluating the potential xch price against energy costs, it's clear that Eco3x and Pro4x are compelling for those seeking profitability over minimal energy use. For example, if your electricity costs are $0.14 per kWh with XCH priced at $30: 58 | 59 | ``` 60 | Eco3x extra earnings - extra energy costs = 0.07 * $31 - 4.79 * $0.14 = +$1.49 vs NoSSD. 61 | Pro4x extra earnings - extra energy costs = 0.10 * $31 - 11.21 * $0.14 = +$1.53 vs NoSSD. 62 | ``` 63 | These figures highlight Pro4x as a strong contender, offering a 50% higher daily return than NoSSD's C15 ($4.57 profit per day vs $3.04 profit per day), despite a higher energy consumption. 64 | 65 | ## Get the Most Out of Your GPU with Eco3x and Pro4x 66 | 67 | Eco3x and Pro4x plots let you use your hard drive space and GPU power to the fullest. By allocating Eco3x and Pro4x across your HDDs based on how much space you have, you make sure your GPU is always busy, with no downtime. 68 | 69 | **For example:** 70 | - you have 335 TiB of storage space and a 3090 GPU, at the current plot filter of 512. 71 | 72 | **How to Do It:** 73 | - Use 235 TiB for Eco3x plots. This keeps 50% of your 3090 GPU busy. 74 | - Fill the remaining 100 TiB with Pro4x plots. This uses up the other 50% of your GPU. 75 | 76 | **The Outcome:** 77 | This mix lets you use all of your storage space wisely, filling it with Eco3x and Pro4x plots. You end up with a total plot size of about 1.1 ePiB (3x the size of your Eco3x space and 4x your Pro4x space). Your GPU is always active, making sure you're using your resources efficiently. 78 | 79 | 80 | # How it works 81 | 82 |

83 | 84 |

85 | 86 | 87 | **DrPlotter** is the plotting tool that creates Eco3x and Pro4x plots. Given your farmer and pool public keys, it produces "DrPlots" using write-once technology directly to your HDD, typically in 5-7 minutes per plot. No SSD required. 88 | 89 | **DrChia Harvester**, in line with the Chia harvesting protocol, seamlessly integrates with your existing farmer setup. It reads existing chia supported plots and your new DrPlots. DrPlot entries requiring proof solving are sent to the DrServer. Once solved, these proofs are relayed back to the DrChia harvester and then passed onto your Chia farmer. 90 | 91 | **DrSolver** leverages your GPU power to solve proofs for your compressed DrPlot entries. 92 | 93 | **DrServer** is the central hub on your local network that connects all your harvesters and DrSolver's together. It efficiently manages and distributes all the tasks needed across all your harvesters and DrSolvers, to ensure a smooth running system for relaying proofs back to your farmer. 94 | 95 | For a more complete overview, see the video [How it works](https://www.youtube.com/watch?v=hQTV7foIRHo&t=463s). 96 | 97 | 98 | # Using DrPlotter 99 | 100 | - Make sure you meet the [minimum requirements](#minimum-requirements) 101 | - Download and [install the software](#installation) 102 | - [Start plotting](#plotting) with the DrPlotter tool. 103 | - [Run your DrSolvers](#1-start-drserver) 104 | - [Setup and run your DrChia harvester](#3-setup-your-drchia-harvesters) with your existing chia farmer. 105 | - [Verify your DrPlots are submitting proofs](#verify-your-drplots-are-submitting-proofs) 106 | 107 | ## Minimum Requirements 108 | 109 | DrPlotter Minimum Requirements: 110 | - 24GB nvidia 3090 / A5000 / 4090 per instance. 111 | - 128GB DDR4 RAM per instance. 112 | - motherboard with a PCIE 4.0 x 16 slot 113 | - 64 bit processor (onboard GPU a bonus) 114 | - Ubuntu / Debian based system 115 | 116 | DrSolver Minimum Requirements: 117 | - 64MB RAM per instance. 118 | - 24GB nvidia 3090 per instance. 119 | - Ubuntu / Debian based system 120 | 121 | DrChia Harvester Minimum Requirements: 122 | - ~4GB RAM for every 1PiB of raw disk space. 123 | - Ubuntu / Debian based system 124 | 125 | DrServer Minimum Requirements: 126 | - ~16MB RAM 127 | - Ubuntu / Debian based system 128 | 129 | ## Installation 130 | 131 | Make sure you meet the minimum requirements above. Then, download the latest .deb package from the releases page. 132 | 133 | In the command line, run dpkg on your downloaded file, for example: 134 | 135 | ``` 136 | sudo dpkg -i drplotter_1.0.0_amd64.deb 137 | ``` 138 | 139 | This will install drplotter, drsolver, drserver, and drchia for the harvester in the /usr/bin/ directory. 140 | 141 | If at any point you want to remove drplotter, to uninstall run: 142 | 143 | ``` 144 | sudo dpkg -r drplotter 145 | ``` 146 | 147 | ## Plotting 148 | > [!NOTE] 149 | > DrPlotter only supports the recommended NFT plots with pooling. This is to ensure you can verify your system is running as expected against proofs submitted to pools. You can still choose to solo pool, but it must be a plot NFT and not the OG format. 150 | 151 | To make plots, run: 152 | 153 | ``` 154 | drplotter plot -f -c -d /your/hdd/directory/ --compression 155 | ``` 156 | 157 | This will fill the directory with plots. While plotting, you'll see progress and when plots complete, you'll see output like this: 158 | 159 | ``` 160 | Location: 161 | Path: /media/nick/E14TB_14/drplots/ 162 | Usage: 1.76 TB used of 12.73 TB total (13%) 163 | Est. Completion: 467 plots by 2024-01-26 09:25 (2 days, 8 hours) 164 | 165 | Plotting File: drplot-pro4p-2024-01-24-00-35-372b8c5b9948587dcf4e6b66565cd382.drplot 166 | 167 | Progress Time ETA 168 | ----------------------------- 169 | 100% ########## 06:51 - 170 | 171 | Size : 22.32 GiB 172 | Proofs : 4.184.342.908 173 | Bits/proof : 45.82 (22.59% of original size) 174 | 175 | ============ 2024-01-24 00:43:42 ============ 176 | ``` 177 | Bits/proof is the most important metric for compression. A standard k32 chia plot will require around 202.8 bits for each proof it stores. By comparing bits per proof, we can accurately see the compression based on the number of proofs a plot has, and not just it's physical size. 178 | 179 | To see more plotting options, run: 180 | ``` 181 | drplotter -h 182 | ``` 183 | 184 | ## Harvesting DrPlots 185 | 186 | Note that all the components shown below could be run on the same machine locally, or split across multiple machines or VMs. 187 | 188 | ### 1. Start DrServer 189 | 190 | DrServer is the central hub on your network that connects all the `drchia harvester` and `drsolver` instances. You only need a single instance of DrServer accessible on your network. Run the following command to start: 191 | 192 | ``` 193 | drserver 194 | ``` 195 | 196 | The default port is 8080, and you check it's running by opening a web browser to your local ip and port like so: `http://localhost:8080/`. If you want to run on a specific port, use: 197 | 198 | ``` 199 | drserver --port 8080 200 | ``` 201 | 202 | 203 | ### 2. Set your DRSERVER_IP_ADDRESS environment variables 204 | 205 | Take note of what local ip address your drserver is running on. For every different machine you have running DrPlotter services, set the environment variable `DRSERVER_IP_ADDRESS`. 206 | 207 | - **Temporary Setting**: For a temporary setup in a bash shell, use: 208 | 209 | ``` 210 | export DRSERVER_IP_ADDRESS='Your_drserver_ip_address:port' 211 | ``` 212 | Replace 'Your_drserver_ip_address:port' with ip address and port of your machine running drserver. Append the port after a semi-colon to the ip address, e.g. `192.168.0.2:8080` for setting the port to `8080`. 213 | 214 | - **Persistent Setup:** 215 | 216 | Edit your `.bashrc` file for a more persistent solution: 217 | ``` 218 | nano ~/.bashrc 219 | ``` 220 | Add the following line to the end of the file (with your actual drserver ip address): 221 | ``` 222 | export DRSERVER_IP_ADDRESS='Your_drserver_ip_address:port' 223 | ``` 224 | Save and exit, then apply changes with: 225 | ``` 226 | source ~/.bashrc 227 | ``` 228 | 229 | ### 3. Setup your DrChia harvesters 230 | 231 | - If you're on a new install, first run: 232 | 233 | ``` 234 | drchia init 235 | ``` 236 | - Then, you need to copy in your ca certificates from your **farmer machine**, these are usually found at `~/.chia/mainnet/config/ssl/ca`. These let the drchia harvester securely talk with your farmer. Initialize these with your harvester: 237 | 238 | ``` 239 | drchia init -c /path/to/your/farmers/ca/certificates 240 | ``` 241 | 242 | - Edit the chia config file on your harvester. In the example below we use nano: 243 | 244 | ``` 245 | nano ~/.chia/mainnet/config/config.yaml 246 | ``` 247 | 248 | Look for **farmer_peers:** under the **harvester:** section, and edit the ip to point to your farmer ip. 249 | e.g. 250 | ``` 251 | harvester: 252 | farmer_peers: 253 | host: <--- set to your farmer ip address, e.g. 192.168.1.23 254 | port: 8447 255 | ``` 256 | Don't forget to save your changes. 257 | 258 | ### 4. Connect your DrChia Harvester 259 | 260 | To verify that your machine knows the ip address of your `drserver`, you can run: 261 | ``` 262 | echo $DRSERVER_IP_ADDRESS 263 | ``` 264 | and check that the output matches the ip address of your `drserver`. 265 | 266 | 267 | Before you run your harvester, let's change the config so that you can see log outputs to check it's working. Run: 268 | 269 | ``` 270 | drchia configure --log-level INFO 271 | ``` 272 | And now run: 273 | 274 | ``` 275 | drchia start harvester -r 276 | ``` 277 | 278 | If all is well, you can now check your logs in `~/.chia/mainnet/log/debug.log` 279 | 280 | If you see logs similar to this: 281 | 282 | ``` 283 | 2024-01-24T01:05:55.731 harvester drplotter : INFO Harvesting 1368 drplots with on disk size 36.82 TiB, after decompression 130.58 eTiB, extra rewards 3.55x 284 | ``` 285 | 286 | Then congrats, your drchia harvester has found your drplots and is now ready to harvest. 287 | 288 | You'll also notice there are some warning logs, if you haven't yet setup a DrSolver to use the GPU to decmpress all those proofs. That's what we'll do next. 289 | 290 | 291 | ### 5. Connect your DrSolvers 292 | 293 | A DrSolver can run on the same system as your `drchia harvester` or the `drserver`, as long as it has it's own dedicated GPU. 294 | 295 | Let's first verify that your machine knows the ip address of your `drserver`, you can run: 296 | ``` 297 | echo $DRSERVER_IP_ADDRESS 298 | ``` 299 | and check that the output matches the ip address of your drserver. 300 | 301 | If that looks good, then running a drsolver is as simple as: 302 | ``` 303 | drsolver 304 | ``` 305 | 306 | DrSolver will run and connect to the `drserver`. Once connected, it will display your connected harvesters and solvers that are all synced with the `drserver`. Below is an example output: 307 | 308 | ``` 309 | DrPlotter Solver v1.0.3 310 | 311 | DrPlotter Farm Status 312 | -------------------------------------------------------------------------------- 313 | Status: CONNECTED Uptime: 02:23:30 314 | DrServer: 192.168.2.44:8080 315 | 316 | Total Harvesters: 2 Total Solvers: 1 317 | 318 | Num DrPlots Raw Size Effective Size Extra Rewards 319 | 3911 95.80 TiB 376.20 TiB +393% 320 | 321 | 322 | Solver GPU: NVIDIA GeForce RTX 3090 323 | -------------------------------------------------------------------------------- 324 | Fan Temp Perf Pwr:Usage/Cap Memory-Usage 325 | 30% 61C P2 237W / 240W 23346MiB / 24576MiB 326 | 327 | Status Load 1 min / 5 min / 15 min 328 | SOLVING 14% / 34% / 32% 329 | 330 | 331 | Commands: [Q]uit 332 | ``` 333 | 334 | While DrSolver is running, monitor the 5-minute and 15-minute "load" indicators to gauge the current capacity usage of your GPU as a percentage of its total capacity. 335 | 336 | 337 | 338 | ## 6. Verify your DrPlots are Submitting Proofs 339 | 340 | To check your DrPlots are submitting proofs, it's recommended to join a pool and adjust the difficulty setting of your pool plots to the lowest possible value, such as 1. This approach is beneficial for several reasons: 341 | 342 | - **No Performance Impact:** Setting the difficulty to a low level for DrPlots does not affect their performance. Thus, you can monitor their operation without any compromise on efficiency. 343 | 344 | - **Effective Monitoring:** By using a low difficulty setting, it's easier to track and ensure that you are accruing the expected number of pool points. This setting enhances the visibility of the functioning of your drplots in the pool. 345 | 346 | - **Troubleshooting:** In case you notice discrepancies in the expected pool points, the low difficulty setting can help in detecting any problems early. 347 | 348 | As a result, you can effectively monitor and ensure that your drplots are being farmed correctly and submitting proofs to the pool as anticipated. 349 | 350 | 351 | # Securing your DrServer Remotely 352 | 353 | To take advantage of the remote features of DrServer, for instance, so that you can run your DrSolver's also on remote rentable instances, you can secure your server to ensure only your DrChia harvesters and DrSolvers are able to connect using a token system. 354 | 355 | First, on your DrServer generate a token: 356 | 357 | ``` 358 | drserver --generate-token 359 | ``` 360 | 361 | and you will see output similar to this: 362 | 363 | ``` 364 | Generated validation token: SLJNCYo0dsEfpl8nRcuV5qDPWD3sYwAoWJMU9ghzpSEafqGG 365 | ``` 366 | 367 | Next, run your DrServer with that token: 368 | 369 | ``` 370 | drserver --token SLJNCYo0dsEfpl8nRcuV5qDPWD3sYwAoWJMU9ghzpSEafqGG <-- use your own token here 371 | ``` 372 | 373 | Alternatively, you can set the `DRPLOTTER_CLIENT_TOKEN` as an environment variable, and `drserver` will use that if you don't specify the token directly. 374 | 375 | If no token is passed in the command line or `DRPLOTTER_CLIENT_TOKEN` is not set in your environment for DrServer, then anyone can connect to your DrServer without authenticating. 376 | 377 | ## Authenticate your DrSolvers 378 | 379 | If your DrServer requires a token, use that same token when starting your DrSolver, like so: 380 | 381 | ``` 382 | drsolver --drserver-ip mydrserver.com:8080 --token [YOUR TOKEN HERE WITHOUT BRACKETS] 383 | ``` 384 | 385 | Alternatively, if you don't specify a token you can set DRPLOTTER_CLIENT_TOKEN in your environment variables as well. 386 | 387 | ## Authenticate your DrChia Harvesters 388 | 389 | To connect your harvester with your DrServer that requires a token to authenticate, make sure to set the `DRPLOTTER_CLIENT_TOKEN` and the `DRSERVER_IP_ADDRESS` in the environment variables. 390 | 391 | -------------------------------------------------------------------------------- /images/Consider-Eco3x-Pro4x-NoSSDC15-kWh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/Consider-Eco3x-Pro4x-NoSSDC15-kWh.png -------------------------------------------------------------------------------- /images/Eco3x-Pro4x-vs-NoSSDC15-nodevfee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/Eco3x-Pro4x-vs-NoSSDC15-nodevfee.png -------------------------------------------------------------------------------- /images/Eco3x-Pro4x-vs-NoSSDC15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/Eco3x-Pro4x-vs-NoSSDC15.png -------------------------------------------------------------------------------- /images/drplotter-components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/drplotter-components.png -------------------------------------------------------------------------------- /images/drplotter-plots-summary-nodevfee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/drplotter-plots-summary-nodevfee.png -------------------------------------------------------------------------------- /images/drplotter-plots-summary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/drplotter-plots-summary.png -------------------------------------------------------------------------------- /images/drplotter-solver-harvester-server-farmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/drplotter-solver-harvester-server-farmer.png -------------------------------------------------------------------------------- /images/eco3x-advantage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/eco3x-advantage.png -------------------------------------------------------------------------------- /images/pro4x-advantage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Chia-Network/drplotter/385229efe4393e219852e945ad6a591208eff0d8/images/pro4x-advantage.png --------------------------------------------------------------------------------