forked from dan_s/dragonx.is
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.
206 lines
6.8 KiB
206 lines
6.8 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0,
|
|
minimum-scale=1"" />
|
|
|
|
<link rel="stylesheet" href="../style.css" />
|
|
<link rel="icon" type="image/x-icon" href="../img/logo_dragonx.ico" />
|
|
<title>DragonX</title>
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<div class="nav-logo">
|
|
<a href="https://dragonx.is" alt="dragonx logo"></a>
|
|
</div>
|
|
<div class="nav-menu desktop">
|
|
<a class="btn" href="https://dragonx.is/releases">Wallets</a>
|
|
<a class="btn" href="https://dragonx.is/exchanges">Exchanges</a>
|
|
<a class="btn" href="https://explorer.dragonx.is">Explorer</a>
|
|
<a class="btn" href="https://dragonx.is/guides">Guides</a>
|
|
<a class="btn" href="https://dragonx.is/tg">Telegram</a>
|
|
<a class="btn" href="https://dragonx.is/matrix">Matrix</a>
|
|
</div>
|
|
</header>
|
|
<input type="checkbox" id="mobile-checkbox" name="mobile-checkbox" style="display: none;">
|
|
<label for="mobile-checkbox" id="mobile-menu-btn"></label>
|
|
<div class="nav-menu mobile">
|
|
<a class="btn" href="https://dragonx.is/releases">Wallets</a>
|
|
<a class="btn" href="https://dragonx.is/exchanges">Exchanges</a>
|
|
<a class="btn" href="https://explorer.dragonx.is">Explorer</a>
|
|
<a class="btn" href="https://dragonx.is/guides">Guides</a>
|
|
<a class="btn" href="https://dragonx.is/tg">Telegram</a>
|
|
<a class="btn" href="https://dragonx.is/matrix">Matrix</a>
|
|
</div>
|
|
<div class="bg-overlay"></div>
|
|
<div class="img-bg"></div>
|
|
|
|
<section id="mining" class="justify-center flex-col">
|
|
<h2 style="margin-bottom: 4rem">How To Mine DragonX</h2>
|
|
<div>
|
|
<h3>
|
|
Mining From Silent Dragon <br />
|
|
(GUI WALLET)
|
|
</h3>
|
|
<p>
|
|
The easiest way to mine is with the Silent Dragon X Wallet. Simply
|
|
download and run the wallet then under the mining tab, select the
|
|
number of threads to mine with and click the <b>Mining Button</b>.
|
|
</p>
|
|
<a class="btn w-14 mx-auto text-white font-size-md px-0 my-1" href="http://dragonx.is/releases">Download A Wallet</a>
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/SDX_mining_screen.gif"
|
|
alt=""
|
|
/>
|
|
</div>
|
|
<div>
|
|
<h3>
|
|
Mining From CLI <br />
|
|
(Command Line Interface)
|
|
</h3>
|
|
<p>
|
|
First download the CLI wallet from the releases page
|
|
</p>
|
|
<a class="btn w-14 mx-auto text-white font-size-md px-0 my-1" href="http://dragonx.is/releases">Download A Wallet</a>
|
|
<p>
|
|
Unzip the archive.
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 1.png"
|
|
alt=""
|
|
/>
|
|
</p>
|
|
<p>
|
|
Then navigate to the folder containing the wallet. Then in an empty area of
|
|
the windows explorer,<br>
|
|
<b>right click > Open in Terminal</b> <br /><br />
|
|
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 2.png"
|
|
alt=""
|
|
/>
|
|
|
|
If windows terminal is not installed, it can be found
|
|
<a
|
|
href="https://apps.microsoft.com/detail/9N0DX20HK701?hl=en-US&gl=US"
|
|
>here</a
|
|
>.
|
|
<br /><br />
|
|
In the terminal type <b>./dragonxd</b> to start the node.
|
|
</p>
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 3.png"
|
|
alt=""
|
|
/>
|
|
<p>Then right click the tab in the terminal and <b>Duplicate Tab</b></p>.
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 4.png"
|
|
alt=""
|
|
/>
|
|
<p>
|
|
Then in the new tab type <b>./dragonx-cli getinfo</b>. You will know
|
|
when the node is fully synced and ready to start mining when both
|
|
<b>"blocks" and "longestchain"</b> are the same number.
|
|
</p>
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 5.png"
|
|
alt=""
|
|
/>
|
|
<p>
|
|
After syncing your node, type
|
|
<b>./dragonx-cli setgenerate true $(1)</b> <br />
|
|
<br /><b>"1"</b> can be changed for the number of threads you want to
|
|
mine with, more threads means more mining power. Generally you can
|
|
find the total number of threads your CPU has by taking the number of
|
|
cores and multiplying by 2.
|
|
</p>
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 6.png"
|
|
alt=""
|
|
/>
|
|
<p>
|
|
If you check back on the first tab running the node you will notice it
|
|
now shows <b>setgenerate:HUSH_MININGTHREADS=1</b>.
|
|
</p>
|
|
<img
|
|
class="how-to-gif"
|
|
src="../../img/graphics/screenshots/drgx screen 7.png"
|
|
alt=""
|
|
/>
|
|
<p>You are now mining DragonX from the terminal!</p>
|
|
<p>
|
|
To stop mining simply type <b>./dragonx-cli setgenerate false</b> in
|
|
the second terminal tab.
|
|
</p>
|
|
<p>
|
|
you can check your balance with <b>./dragonx-cli getwalletinfo</b>
|
|
</p>
|
|
<p>
|
|
To use any mined funds they must first be shielded to a z-address
|
|
which can be done by generating a z-address and shielding all funds to
|
|
that address with: <br /><br /><b>./dragonx-cli z_getnewaddress</b>
|
|
<br /><br />
|
|
<b>./dragonx-cli z_shieldcoinbase "*" "generated z-address" 0.0001 0</b>
|
|
</p>
|
|
<p>this will shield all mining funds to the specified z-address.</p>
|
|
<p>shielded funds can be checked with <b>./dragonx-cli z_gettotalbalance</b></p>
|
|
</div>
|
|
</section>
|
|
|
|
<footer class="flex-center">
|
|
<div class="flex-center">
|
|
<div class="footer-links flex-center">
|
|
<a href="">Wallets</a>
|
|
<a href="">Exchanges</a>
|
|
<a href="">Explorer</a>
|
|
</div>
|
|
<img
|
|
src="../../img/logos/dragonx_logotext_light.svg"
|
|
class="footer-logo"
|
|
alt=""
|
|
/>
|
|
<div class="footer-links flex-center">
|
|
<a href="">How To Mine</a>
|
|
<a href="" class="link-out">Documentation</a>
|
|
<a href="">Arrakis Chain Creator</a>
|
|
</div>
|
|
</div>
|
|
<div style="margin: 2rem 0 2rem 0" class="flex-center">
|
|
<a href="https://twitter.com/DragonXchain" class="footer-social"
|
|
><img
|
|
src="../../img/social_icons/icon_twitter.svg"
|
|
onmouseover="src='../../img/social_icons/icon_twitter_red.svg'"
|
|
onmouseleave="src='../../img/social_icons/icon_twitter.svg'"
|
|
alt=""
|
|
/></a>
|
|
<a href="https://dragonx.is/tg" class="footer-social"
|
|
><img
|
|
src="../../img/social_icons/icon_telegram.svg"
|
|
onmouseover="src='../../img/social_icons/icon_telegram_red.svg'"
|
|
onmouseleave="src='../../img/social_icons/icon_telegram.svg'"
|
|
alt=""
|
|
/></a>
|
|
<a href="https://dragonx.is/matrix" class="footer-social"
|
|
><img
|
|
src="../../img/social_icons/icon_matrix.svg"
|
|
onmouseover="src='../../img/social_icons/icon_matrix_red.svg'"
|
|
onmouseleave="src='../../img/social_icons/icon_matrix.svg'"
|
|
alt=""
|
|
/></a>
|
|
</div>
|
|
© Copyright DragonX
|
|
<script type="text/javascript">
|
|
document.write(new Date().getFullYear());
|
|
</script>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
|