You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

basic_mining.html 34KB

1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. <!DOCTYPE html>
  2. <html class="writer-html5" lang="en" >
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Mining DERO &mdash; DERO Documentation documentation</title>
  7. <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  8. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  9. <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  10. <!--[if lt IE 9]>
  11. <script src="../_static/js/html5shiv.min.js"></script>
  12. <![endif]-->
  13. <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
  14. <script src="../_static/jquery.js"></script>
  15. <script src="../_static/underscore.js"></script>
  16. <script src="../_static/doctools.js"></script>
  17. <script type="text/javascript" src="../_static/js/theme.js"></script>
  18. <link rel="index" title="Index" href="../genindex.html" />
  19. <link rel="search" title="Search" href="../search.html" />
  20. <link rel="next" title="Run DERO Full Node" href="basic_runderofullnode.html" />
  21. <link rel="prev" title="Create/Restore Wallet" href="basic_createrestorewallet.html" />
  22. </head>
  23. <body class="wy-body-for-nav">
  24. <div class="wy-grid-for-nav">
  25. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  26. <div class="wy-side-scroll">
  27. <div class="wy-side-nav-search" >
  28. <a href="../index.html">
  29. <img src="../_static/docs_logo.png" class="logo" alt="Logo"/>
  30. </a>
  31. <div role="search">
  32. <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
  33. <input type="text" name="q" placeholder="Search docs" />
  34. <input type="hidden" name="check_keywords" value="yes" />
  35. <input type="hidden" name="area" value="default" />
  36. </form>
  37. </div>
  38. </div>
  39. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  40. <p class="caption"><span class="caption-text">Basic's</span></p>
  41. <ul class="current">
  42. <li class="toctree-l1"><a class="reference internal" href="basic_desktopwallet.html">Desktop Wallet User Guide</a><ul>
  43. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#downloading-binaries">Downloading Binaries</a></li>
  44. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#installing-the-desktop-app">Installing the desktop app</a></li>
  45. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#windows-installation">Windows Installation</a></li>
  46. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#mac-installation">MAC Installation</a></li>
  47. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#linux-installation">Linux Installation</a></li>
  48. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#where-are-the-dero-wallet-files-located">Where are the DERO Wallet files located?</a></li>
  49. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#create-a-new-wallet">Create a new wallet</a></li>
  50. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#opening-a-dero-wallet">Opening a DERO wallet</a></li>
  51. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#synchronizing-the-dero-cmd-wallet">Synchronizing the DERO CMD Wallet</a></li>
  52. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#rescan-blockchain">Rescan Blockchain</a></li>
  53. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#upgrading-from-a-previous-version">Upgrading from a previous version</a></li>
  54. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#main-wallet-screen">Main wallet screen</a></li>
  55. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#wallet-status">Wallet status</a></li>
  56. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#offline-mode">Offline mode</a></li>
  57. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#sending-dero">Sending DERO</a></li>
  58. <li class="toctree-l2"><a class="reference internal" href="basic_desktopwallet.html#restoring-dero-funds">Restoring DERO Funds</a></li>
  59. </ul>
  60. </li>
  61. <li class="toctree-l1"><a class="reference internal" href="basic_webwallet.html">Browser Wallet User Guide</a><ul>
  62. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#using-the-browser-wallet">Using the Browser Wallet</a></li>
  63. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#create-a-wallet">Create a wallet</a></li>
  64. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#restore-a-wallet">Restore a wallet</a></li>
  65. <li class="toctree-l2"><a class="reference internal" href="basic_webwallet.html#rescan-blockchain">Rescan Blockchain</a></li>
  66. </ul>
  67. </li>
  68. <li class="toctree-l1"><a class="reference internal" href="basic_cmd.html">Command Line Wallet User Guide</a><ul>
  69. <li class="toctree-l2"><a class="reference internal" href="basic_cmd.html#rescan-blockchain">Rescan Blockchain</a></li>
  70. </ul>
  71. </li>
  72. <li class="toctree-l1"><a class="reference internal" href="basic_coldwallet.html">Cold Wallet</a><ul>
  73. <li class="toctree-l2"><a class="reference internal" href="basic_coldwallet.html#creating-a-cold-storage-dero-wallet">Creating a cold storage DERO wallet</a></li>
  74. <li class="toctree-l2"><a class="reference internal" href="basic_coldwallet.html#creating-transactions-using-cold-wallet">Creating transactions using cold wallet</a></li>
  75. </ul>
  76. </li>
  77. <li class="toctree-l1"><a class="reference internal" href="basic_downloads.html">Downloads</a></li>
  78. <li class="toctree-l1"><a class="reference internal" href="basic_whitepaper.html">Whitepaper</a></li>
  79. <li class="toctree-l1"><a class="reference internal" href="basic_quickstart.html">Quickstart</a></li>
  80. <li class="toctree-l1"><a class="reference internal" href="basic_createrestorewallet.html">Create/Restore Wallet</a></li>
  81. <li class="toctree-l1 current"><a class="current reference internal" href="#">Mining DERO</a><ul>
  82. <li class="toctree-l2"><a class="reference internal" href="#mining-dero-with-windows">Mining DERO with Windows</a></li>
  83. <li class="toctree-l2"><a class="reference internal" href="#mining-dero-with-linux">Mining DERO with Linux</a></li>
  84. </ul>
  85. </li>
  86. <li class="toctree-l1"><a class="reference internal" href="basic_runderofullnode.html">Run DERO Full Node</a></li>
  87. <li class="toctree-l1"><a class="reference internal" href="basic_trading.html">Trading</a></li>
  88. </ul>
  89. <p class="caption"><span class="caption-text">DERO Stargate RC2 Testnet</span></p>
  90. <ul>
  91. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html">CLI Wallet User Guide (Stargate)</a><ul>
  92. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#downloading-wallet">Downloading Wallet</a></li>
  93. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#install-wallet">Install Wallet</a><ul>
  94. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#windows">Windows</a></li>
  95. </ul>
  96. </li>
  97. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#opening-wallet">Opening Wallet</a></li>
  98. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#create-new-wallet">Create New Wallet</a></li>
  99. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#recover-existing-wallet-from-seed">Recover existing wallet from seed</a></li>
  100. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#create-view-only-wallet">Create View only Wallet</a></li>
  101. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#cli-wallet-functions">CLI Wallet Functions</a><ul>
  102. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-account-address">Display Account Address</a></li>
  103. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-seed">Display Seed</a></li>
  104. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-keys-hex">Display Keys (Hex)</a></li>
  105. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#account-registration">Account Registration</a></li>
  106. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#display-wallet-pool">Display Wallet Pool</a></li>
  107. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#transfer-send-dero-to-another-wallet">Transfer (Send DERO) To Another Wallet</a></li>
  108. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#change-wallet-password">Change Wallet Password</a></li>
  109. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#transfer-all-balance-send-dero-to-another-wallet">Transfer all balance (send DERO) To Another Wallet</a></li>
  110. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#show-transaction-history">Show transaction history</a></li>
  111. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#rescan-transaction-history">Rescan transaction history</a></li>
  112. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#exit-menu-and-start-prompt">Exit menu and start prompt</a></li>
  113. <li class="toctree-l3"><a class="reference internal" href="stargate_wallet.html#exit-wallet">Exit Wallet</a></li>
  114. </ul>
  115. </li>
  116. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#command-line-help-functions">Command Line Help Functions</a></li>
  117. </ul>
  118. </li>
  119. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html#gui-wallet-user-guide-stargate">GUI Wallet User Guide (Stargate)</a><ul>
  120. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id1">Downloading Wallet</a></li>
  121. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id2">Install Wallet</a></li>
  122. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id3">Create New Wallet</a></li>
  123. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id4">Recover existing wallet from seed</a></li>
  124. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id5">Create View only Wallet</a></li>
  125. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#gui-wallet-functions">GUI Wallet Functions</a></li>
  126. </ul>
  127. </li>
  128. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html#broswer-wallet-user-guide-stargate">Broswer Wallet User Guide (Stargate)</a><ul>
  129. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id6">Create New Wallet</a></li>
  130. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id7">Recover existing wallet from seed</a></li>
  131. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id8">Create View only Wallet</a></li>
  132. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#id9">GUI Wallet Functions</a></li>
  133. </ul>
  134. </li>
  135. <li class="toctree-l1"><a class="reference internal" href="stargate_wallet.html#cold-wallet-stargate">Cold Wallet (Stargate)</a><ul>
  136. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#cli">CLI</a></li>
  137. <li class="toctree-l2"><a class="reference internal" href="stargate_wallet.html#gui">GUI</a></li>
  138. </ul>
  139. </li>
  140. <li class="toctree-l1"><a class="reference internal" href="stargate_dvm.html">DERO Virtual Machine</a><ul>
  141. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#dim-statement">DIM Statement</a></li>
  142. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#function-statement">Function statement</a></li>
  143. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#goto-statement">GOTO Statement</a></li>
  144. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#if">IF</a></li>
  145. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#let-statement">LET Statement</a></li>
  146. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#return-statement">Return Statement</a></li>
  147. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#support-functions">Support Functions</a></li>
  148. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#lotter-sc-guide">Lotter SC Guide</a></li>
  149. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#lottery-bas">Lottery.bas</a></li>
  150. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#token-sc-guide">Token SC Guide</a></li>
  151. <li class="toctree-l2"><a class="reference internal" href="stargate_dvm.html#token-bas">Token.bas</a></li>
  152. </ul>
  153. </li>
  154. </ul>
  155. <p class="caption"><span class="caption-text">Developer's Guide</span></p>
  156. <ul>
  157. <li class="toctree-l1"><a class="reference internal" href="dev_astrobwt.html">AstroBWT</a><ul>
  158. <li class="toctree-l2"><a class="reference internal" href="dev_astrobwt.html#dero-astrobwt-cpu-mining-proof-of-work">DERO AstroBWT CPU Mining Proof-of-Work</a></li>
  159. <li class="toctree-l2"><a class="reference internal" href="dev_astrobwt.html#astrobwt-building">AstroBWT Building</a></li>
  160. <li class="toctree-l2"><a class="reference internal" href="dev_astrobwt.html#astrobwt-pseudo-code">AstroBWT Pseudo CODE</a></li>
  161. <li class="toctree-l2"><a class="reference internal" href="dev_astrobwt.html#explaining-astrobwt">Explaining AstroBWT</a></li>
  162. <li class="toctree-l2"><a class="reference internal" href="dev_astrobwt.html#astrobwt-hash-rates">AstroBWT Hash Rates</a></li>
  163. </ul>
  164. </li>
  165. <li class="toctree-l1"><a class="reference internal" href="dev_DHEBP.html">DHEBP (DERO Homomorphic Encryption Blockchain Protocol)</a><ul>
  166. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#dhebp-alpha-code-to-demonstrate-fhe-blockchain-transactions">DHEBP alpha code to demonstrate FHE blockchain transactions.</a></li>
  167. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#transaction-details">Transaction Details</a></li>
  168. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#ring-size-tx-size-data">Ring Size, Tx Size data</a></li>
  169. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#build">Build</a></li>
  170. <li class="toctree-l2"><a class="reference internal" href="dev_DHEBP.html#output-sample">Output Sample</a></li>
  171. </ul>
  172. </li>
  173. <li class="toctree-l1"><a class="reference internal" href="dev_graviton.html">Graviton</a><ul>
  174. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#graviton-zfs-for-key-value-stores">Graviton: ZFS for Key-Value Stores</a></li>
  175. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#standalone-alpha-release">Standalone Alpha Release</a></li>
  176. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#features">Features</a></li>
  177. <li class="toctree-l2"><a class="reference internal" href="dev_graviton.html#benefits">Benefits</a></li>
  178. </ul>
  179. </li>
  180. <li class="toctree-l1"><a class="reference internal" href="dev_rpcapi.html">DERO Atlantis RPC API V2.0</a><ul>
  181. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#introduction">1. Introduction</a><ul>
  182. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#data-types">1.1 Data Types</a></li>
  183. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#code-examples">1.2 Code Examples</a></li>
  184. </ul>
  185. </li>
  186. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#quick-overview">2. Quick Overview</a></li>
  187. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#dero-daemon-rpc-interface">3. DERO Daemon RPC Interface</a></li>
  188. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#id1">3.1 Introduction</a></li>
  189. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#methods-via-post">3.2 Methods via POST</a><ul>
  190. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockcount">3.2.1 getblockcount</a></li>
  191. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-info">3.2.2 get_info</a></li>
  192. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblocktemplate">3.2.3 getblocktemplate</a></li>
  193. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#submitblock">3.2.4 submitblock</a></li>
  194. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getlastblockheader">3.2.5 getlastblockheader</a></li>
  195. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockheaderbyhash">3.2.6 getblockheaderbyhash</a></li>
  196. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockheaderbytopoheight">3.2.7 getblockheaderbytopoheight</a></li>
  197. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblockheaderbyheight">3.2.8 getblockheaderbyheight</a></li>
  198. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getblock">3.2.9 getblock</a></li>
  199. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#gettxpool">3.2.10 gettxpool</a></li>
  200. </ul>
  201. </li>
  202. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#methods-via-get">3.3 Methods via GET</a><ul>
  203. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getheight">3.3.1 getheight</a></li>
  204. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#gettransactions">3.3.2 gettransactions</a></li>
  205. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#sendrawtransaction">3.3.3 sendrawtransaction</a></li>
  206. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#is-key-image-spent">3.3.4 is_key_image_spent</a></li>
  207. </ul>
  208. </li>
  209. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#dero-wallet-rpc-interface">4 DERO Wallet RPC Interface</a></li>
  210. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#id2">4.1 Introduction</a></li>
  211. <li class="toctree-l2"><a class="reference internal" href="dev_rpcapi.html#id3">4.2 Methods via POST</a><ul>
  212. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getaddress">4.2.1 getaddress</a></li>
  213. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#getbalance">4.2.2 getbalance</a></li>
  214. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#id4">4.2.3 getheight</a></li>
  215. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#transfer">4.2.4 transfer</a></li>
  216. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#transfer-split">4.2.5 transfer_split</a></li>
  217. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-bulk-payments">4.2.6 get_bulk_payments</a></li>
  218. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#query-key">4.2.7 query_key</a></li>
  219. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#make-integrated-address">4.2.8 make_integrated_address</a></li>
  220. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#split-integrated-address">4.2.9 split_integrated_address</a></li>
  221. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-transfer-by-txid">4.2.10 get_transfer_by_txid</a></li>
  222. <li class="toctree-l3"><a class="reference internal" href="dev_rpcapi.html#get-transfers">4.2.11 get_transfers</a></li>
  223. </ul>
  224. </li>
  225. </ul>
  226. </li>
  227. </ul>
  228. <p class="caption"><span class="caption-text">Useful Links</span></p>
  229. <ul>
  230. <li class="toctree-l1"><a class="reference internal" href="usefull_importantlinks.html">Links</a><ul>
  231. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-explorer">DERO Explorer</a></li>
  232. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-webwallet">DERO Webwallet</a></li>
  233. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-wiki">DERO Wiki</a></li>
  234. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-forum">DERO Forum</a></li>
  235. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-social-media">DERO Social Media</a></li>
  236. <li class="toctree-l2"><a class="reference internal" href="usefull_importantlinks.html#dero-community-channels">DERO Community Channels</a></li>
  237. </ul>
  238. </li>
  239. </ul>
  240. </div>
  241. </div>
  242. </nav>
  243. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  244. <nav class="wy-nav-top" aria-label="top navigation">
  245. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  246. <a href="../index.html">DERO Documentation</a>
  247. </nav>
  248. <div class="wy-nav-content">
  249. <div class="rst-content">
  250. <div role="navigation" aria-label="breadcrumbs navigation">
  251. <ul class="wy-breadcrumbs">
  252. <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
  253. <li>Mining DERO</li>
  254. <li class="wy-breadcrumbs-aside">
  255. <a href="../_sources/rtd_pages/basic_mining.rst.txt" rel="nofollow"> View page source</a>
  256. </li>
  257. </ul>
  258. <hr/>
  259. </div>
  260. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  261. <div itemprop="articleBody">
  262. <div class="section" id="mining-dero">
  263. <span id="basic-mining"></span><h1>Mining DERO<a class="headerlink" href="#mining-dero" title="Permalink to this headline">¶</a></h1>
  264. <p>DERO will be using AstroBWT CPU mining algo created by DERO Project.
  265. Read more about AstroBWT <a class="reference external" href="https://github.com/deroproject/astrobwt">here</a></p>
  266. <p><strong>How to mine DERO:</strong></p>
  267. <ol class="arabic simple">
  268. <li><p>DERO Installation for Linux, Windows, Mac, FreeBSD, Arm etc.</p></li>
  269. <li><p>Run DERO daemon and Create wallet address</p></li>
  270. <li><p>Run miner with wallet address and no. of threads based on your CPU.</p></li>
  271. </ol>
  272. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="x">./dero-miner --mining-threads 4 --daemon-rpc-address=http://explorer.dero.io:20206 --wallet-address dERoXHjNHFBabzBCQbBDSqbkLURQyzmPRCLfeFtzRQA3NgVfU4HDbRpZQUKBzq59QU2QLcoAviYQ59FG4bu8T9pZ1woERqciSL;</span>
  273. </pre></div>
  274. </div>
  275. <p><strong>NB 1:</strong> Check here for reference CPU hashes.</p>
  276. <p><strong>NB 2:</strong> There are no mining pools for AstroBWT atm.</p>
  277. <p><strong>NB 3:</strong> Replace</p>
  278. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="x">--daemon-rpc-address=http://explorer.dero.io:20206;</span>
  279. </pre></div>
  280. </div>
  281. <p>with your DERO daemon if you are running your own daemon. Incase DERO daemon is running on local-host this option not required.</p>
  282. <div class="section" id="mining-dero-with-windows">
  283. <h2>Mining DERO with Windows<a class="headerlink" href="#mining-dero-with-windows" title="Permalink to this headline">¶</a></h2>
  284. <p>We will set this up using the remote server only. If you wish to run your own node and mine locally please visit <a class="reference external" href="https://medium.com/deroproject/install-a-full-dero-node-with-stats-the-easy-way-b8997347ed9e">https://medium.com/deroproject/install-a-full-dero-node-with-stats-the-easy-way-b8997347ed9e</a> to set up local node.</p>
  285. <p><strong>First you will need some pre-requisites</strong></p>
  286. <p>DERO Wallet: <a class="reference external" href="https://wallet.dero.io/">https://wallet.dero.io/</a></p>
  287. <p>DERO Address (We do not recommend mining direct to an exchange address)</p>
  288. <p><strong>Step 1</strong></p>
  289. <p>Download binaries here: <a class="reference external" href="https://github.com/deroproject/derosuite/releases/tag/AstroBWT">https://github.com/deroproject/derosuite/releases/tag/AstroBWT</a></p>
  290. <p>For 32 bit Windows please download: dero_windows_x86_2.2.0–0.Atlantis.Astrobwt+22022020.zip (<strong>or latest version</strong>)</p>
  291. <p>For 64 bit Windows please download: dero_windows_amd64_2.2.0–0.Atlantis.Astrobwt+22022020.zip (<strong>or latest version</strong>)</p>
  292. <p>To check which system you are running please go to System information in Windows and it will be under <cite>System Type</cite></p>
  293. <div class="figure align-default">
  294. <img alt="../_images/min1.png" src="../_images/min1.png" />
  295. </div>
  296. <p><strong>Step 2</strong></p>
  297. <p>Create a folder on your PC where you wish to store the miner</p>
  298. <div class="figure align-default">
  299. <img alt="../_images/min2.png" src="../_images/min2.png" />
  300. </div>
  301. <p><strong>Step 3</strong></p>
  302. <p>Extract all files to the folder you have created. You will need either 7-zip, Win Rar or similar to extract the files</p>
  303. <div class="figure align-default">
  304. <img alt="../_images/min3.png" src="../_images/min3.png" />
  305. </div>
  306. <p><strong>Step 4</strong></p>
  307. <p>Enable file extensions by following this guide</p>
  308. <p><strong>Windows 10:</strong></p>
  309. <p>Open File Explorer; if you do not have an icon for this in the task bar; click Start, click Windows System, and then File Explorer.</p>
  310. <div class="figure align-default">
  311. <img alt="../_images/min4.png" src="../_images/min4.png" />
  312. </div>
  313. <p>Click the View tab in File Explorer</p>
  314. <div class="figure align-default">
  315. <img alt="../_images/min5.png" src="../_images/min5.png" />
  316. </div>
  317. <p>Click the box next to File name extensions to see file extensions</p>
  318. <p>Click the box next to Hidden items to see hidden files</p>
  319. <p>Close File Explorer if you wish</p>
  320. <p><strong>WIndows 8:</strong></p>
  321. <p>On the Start menu screen start typing “Control”</p>
  322. <p>When you see Control Panel under Apps, click it</p>
  323. <div class="figure align-default">
  324. <img alt="../_images/min6.png" src="../_images/min6.png" />
  325. </div>
  326. <p>If you are in the Category view, click the drop down menu and choose either Large icons or Small icons</p>
  327. <div class="figure align-default">
  328. <img alt="../_images/min7.png" src="../_images/min7.png" />
  329. </div>
  330. <p>Open Folder Options</p>
  331. <p>Click on the View tab at the top of the dialog box</p>
  332. <ul class="simple">
  333. <li><p>To see file extensions, uncheck Hide file extensions for known file types</p></li>
  334. <li><p>To see hidden files and folders, select Show hidden files, folders, and drives</p></li>
  335. </ul>
  336. <p>Click OK</p>
  337. <div class="figure align-default">
  338. <img alt="../_images/min8.png" src="../_images/min8.png" />
  339. </div>
  340. <p><strong>Windows 7</strong></p>
  341. <p>Click Start and open the Control Panel</p>
  342. <p>If you are in the Category view, click the drop down menu and choose either Large icons or Small icons</p>
  343. <p>Open Folder Options</p>
  344. <p>Click on the View tab at the top of the dialog box</p>
  345. <ul class="simple">
  346. <li><p>To see file extensions, uncheck Hide file extensions for known file types</p></li>
  347. <li><p>To see hidden files and folders, select Show hidden files, folders, and drives</p></li>
  348. </ul>
  349. <p>Click OK</p>
  350. <p><strong>Step 5</strong></p>
  351. <p>Create a miner.bat file using the following:</p>
  352. <p>32-bit system</p>
  353. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">dero</span><span class="o">-</span><span class="n">miner</span><span class="o">-</span><span class="n">windows</span><span class="o">-</span><span class="mf">386.</span><span class="n">exe</span> <span class="o">--</span><span class="n">daemon</span><span class="o">-</span><span class="n">rpc</span><span class="o">-</span><span class="n">address</span><span class="o">=</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">explorer</span><span class="o">.</span><span class="n">dero</span><span class="o">.</span><span class="n">io</span><span class="p">:</span><span class="mi">20206</span> <span class="o">--</span><span class="n">wallet</span><span class="o">-</span><span class="n">address</span><span class="o">=</span><span class="p">(</span><span class="n">Insert</span> <span class="n">DERO</span> <span class="n">Address</span> <span class="n">here</span><span class="p">)</span>
  354. <span class="n">pause</span>
  355. </pre></div>
  356. </div>
  357. <p>64-bit system</p>
  358. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">dero</span><span class="o">-</span><span class="n">miner</span><span class="o">-</span><span class="n">windows</span><span class="o">-</span><span class="n">amd64</span><span class="o">.</span><span class="n">exe</span> <span class="o">--</span><span class="n">daemon</span><span class="o">-</span><span class="n">rpc</span><span class="o">-</span><span class="n">address</span><span class="o">=</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">explorer</span><span class="o">.</span><span class="n">dero</span><span class="o">.</span><span class="n">io</span><span class="p">:</span><span class="mi">20206</span> <span class="o">--</span><span class="n">wallet</span><span class="o">-</span><span class="n">address</span><span class="o">=</span><span class="p">(</span><span class="n">Insert</span> <span class="n">DERO</span> <span class="n">Address</span> <span class="n">here</span><span class="p">)</span>
  359. <span class="n">pause</span>
  360. </pre></div>
  361. </div>
  362. <p>Copy the miner.bat file to the same folder you have saved the miner</p>
  363. <div class="figure align-default">
  364. <img alt="../_images/min9.png" src="../_images/min9.png" />
  365. </div>
  366. <p>Right click on the miner.bat file and edit with notepad or similar</p>
  367. <div class="figure align-default">
  368. <img alt="../_images/min10.png" src="../_images/min10.png" />
  369. </div>
  370. <p>Remove (insert DERO Address here)</p>
  371. <div class="figure align-default">
  372. <img alt="../_images/min11.png" src="../_images/min11.png" />
  373. </div>
  374. <p>Insert DERO address and click file and save then exit the notepad</p>
  375. <div class="figure align-default">
  376. <img alt="../_images/min12.png" src="../_images/min12.png" />
  377. </div>
  378. <p>Double click the miner.bat file and it will open a window you are now mining DERO.</p>
  379. <div class="figure align-default">
  380. <img alt="../_images/min13.png" src="../_images/min13.png" />
  381. </div>
  382. </div>
  383. <div class="section" id="mining-dero-with-linux">
  384. <h2>Mining DERO with Linux<a class="headerlink" href="#mining-dero-with-linux" title="Permalink to this headline">¶</a></h2>
  385. <p><strong>How to compile</strong></p>
  386. <p>First of all, check that you have Golang in version 1.12.12 minimum installed, we reccomend to use the v1.13.5.</p>
  387. <p>We need to get the DERO sources to compile the miner. To do this, execute the following command to get the sources from the official github repository:</p>
  388. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>go get -u github.com/deroproject/derosuite/…
  389. </pre></div>
  390. </div>
  391. <div class="figure align-default">
  392. <img alt="../_images/min14.png" src="../_images/min14.png" />
  393. </div>
  394. <p><em>It may take a few minutes, depending on your connection.</em></p>
  395. <p>This will compile all the executables (dero-wallet-cli, derod, explorer, dero-miner).</p>
  396. <p>Once finished, Once finished, you can go to your ~/go/bin folder and you will find your binaries there.</p>
  397. <p>We can also only compile the DERO miner with the following command:</p>
  398. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">go</span> <span class="n">build</span> <span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">deroproject</span><span class="o">/</span><span class="n">derosuite</span><span class="o">/</span><span class="n">cmd</span><span class="o">/</span><span class="n">dero</span><span class="o">-</span><span class="n">miner</span>
  399. </pre></div>
  400. </div>
  401. <div class="figure align-default">
  402. <img alt="../_images/min15.png" src="../_images/min15.png" />
  403. </div>
  404. <p>The dero-miner executable will be created in your current folder.</p>
  405. <p><strong>How to mine</strong></p>
  406. <div class="figure align-default">
  407. <img alt="../_images/min16.png" src="../_images/min16.png" />
  408. </div>
  409. <p>You have different options for the miner, as shown above. What interests us is to be able to SOLO mine on our own node / a remote node.</p>
  410. <p>The command we are interested in is:</p>
  411. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>./dero-miner — wallet-address=&lt;ADDRESS&gt; — daemon-rpc-address=&lt;DAEMON&gt;
  412. </pre></div>
  413. </div>
  414. <div class="figure align-default">
  415. <img alt="../_images/min17.png" src="../_images/min17.png" />
  416. </div>
  417. <p>Congratulations you are now mining DERO.</p>
  418. </div>
  419. </div>
  420. </div>
  421. </div>
  422. <footer>
  423. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  424. <a href="basic_runderofullnode.html" class="btn btn-neutral float-right" title="Run DERO Full Node" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
  425. <a href="basic_createrestorewallet.html" class="btn btn-neutral float-left" title="Create/Restore Wallet" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
  426. </div>
  427. <hr/>
  428. <div role="contentinfo">
  429. <p>
  430. &#169; Copyright 2020, DERO Foundation.
  431. </p>
  432. </div>
  433. Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
  434. <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
  435. provided by <a href="https://readthedocs.org">Read the Docs</a>.
  436. </footer>
  437. </div>
  438. </div>
  439. </section>
  440. </div>
  441. <script type="text/javascript">
  442. jQuery(function () {
  443. SphinxRtdTheme.Navigation.enable(true);
  444. });
  445. </script>
  446. </body>
  447. </html>