Skip to content

Latest commit

 

History

History
299 lines (188 loc) · 15.8 KB

Mining.md

File metadata and controls

299 lines (188 loc) · 15.8 KB
title description published date tags editor dateCreated
The Complete Ergo Mining Handbook v2.0
Some 3rd party pages link to this alternate URL path
true
2022-10-18 09:22:13 UTC
mining, penambang, miner, gpu, mining, guides
markdown
2022-08-11 20:02:32 UTC

The Complete Ergo Mining Handbook v2.0

![5e8765a7-6344-4a81-b283-87c695056ef6.jpeg](/5e8765a7-6344-4a81-b283-87c695056ef6.jpeg =x350)

There are active miner communities for Ergo on Discord and Telegram. For direct support there's #mining-support on Discord - Enable the mining role in #get-roles. {.is-info}

The Coin: What is Ergo?

Ergo has a strictly limited supply, Ergo's original 8 year emission schedule was extended by miners with EIP-27 (live since block #777,217) while maintaining original max supply. All $ERG tokens are mined through an original Proof‐of‐Work (“PoW”) algorithm called Autolykos v2, designed to be ASIC resistant, which employs a smoothed difficulty algorithm.

Miners have to perform memory-hard computations which makes Ergo friendly for GPU mining. To mine Ergo today ~3 GB memory is needed, but the most efficient implementation currently utilizes ~4 GB of vRAM.

A part of ASIC resistance on Autolykos v2 is credited to Ergo’s periodic memory table adjustments. These adjuments slowly increase the minimum GPU vRAM required to mine Ergo over time. The goal being, if someone built an integrated circuit (ASIC) for the memory table today, they would likely have issues with their ASIC machine when the memory table is adjusted (increased) according to schedule at later date.

There was 0 ERG in existence at launch of mainnet as there was no ICO nor pre‐mine. Ergo has a strictly limited supply of 97,739,925 Ergs. The target Ergo block interval is 2 minutes and for the first 2 years, each block will release a total of 75 Ergs to be shared between the miners and the Treasury (Treasury discussed below). But starting at year 2, the rate of emission will fall by 3.0 Ergs and thereafter further decline every 3 months by an additional 3.0 Ergs, which will result in an end to emission 8 years after launch.

Original 8 year emission schedule has been extended after supermajority (>90%) of miners voted in favor of soft fork. Total supply of 97,739,925 Ergs is strictly preserved.

Check out 1.Ergos Reemission Vote EIP27: A Path to Sustained Growth? 2.Ergo Emission: details, retargeting via a soft-fork and 3. EIP-27 github for more info and community discussions on emissions.

EIP-27 showcases the chains ability to amend itself/evolve, in a decentralized fashion. Similar to EIP-27, most future protocol changes are expected to occur painlessly, via soft and velvet forks. {.is-info}

For more information about Ergo follow the links below:


Where to Store Ergo Rewards

Bookmark This "official" Ergo Wallet 🔗

https://ergoplatform.org/en/get-erg/#Wallets {.is-success}

  • Yoroi is no longer a recommended Ergo wallet. If you check the official Ergo wallet link URL above, you will see some great "team" and "other" wallets, but no mention of Yoroi.

  • Restore Yoroi balance using better alternatives using Import or Restore Wallet options, you will need correct mnemonic seed phrase of course.


A wallet will be required for you to collect your mining rewards. Digital wallets can help keep your digital currency safe, private and in your control. We highly recommend the use of wallets for storing Ergo assets (technically, they store the keys to your Ergo addresses). But keep in mind, your wallet is unlike your bank account, so take extra precautions with your passwords and be sure to perform regular backups to protect your money.

Wallet Types:

Third Party Wallets

Ergo Node Wallet

Helpful Resources

Note that most wallets are supported by third parties, we only provide the information as a courtesy, in order to simplify the overall digital currency experience for you. {.is-warning}

The Hardware:

You will need computer hardware to mine Ergo also refered to as a mining rig. Ergo mining is ASIC resistant and requires a GPU (Graphics Card) for mining. A mining rig can be as simple as a single GPU gaming computer, up to a multi GPU mining rig.

While it is possible to mine Ergo with a 4gb GPU. A 6GB GPU is the suggested minimum as Ergo heavily relies on memory usage while the core processor sits idle.1

Components required to build a mining rig:

Search your card here Autolykos v2 hashrates to find the hashrate.

The Pools:

![photo_2021-10-15_23-03-13.jpg](/photo_2021-10-15_23-03-13.jpg =x300)

  • Artwork by: Autolykos Megistos


Check pool stats to see ranking of pools. See note regarding 51% attack below

Please do not mine to mining pools with large hashrate. Any pool close to 51% of the total network is at risk of an attack. {.is-warning}

The Miners: (Mining Software)

There are multiple miners that can be used to mine Ergo (Autolykos2). Below you will find a list of mining software that can be used to mine ERG. There are various opinions as to which mining software is best and some are clear winners. Best advice is to try them all if you can and see what works best for your rig set up specifically. What works for one may or may not work for another.

In addition to dedicated mining software, there are also Mining OS or operating systems such as HiveOS, which is one of the more popular options. This allows you to control your rig through dedicated software that will assist with connecting to pools, OC settings, and miners or mining software. These would be considered an all in one package where as using a specific miner may require other resources or plug ins.

capture.jpg Image From r/Erg_Miners

Mining Software:

Mining OS:

Source Code Miners

For the AMD miner, the compatible Operating Systems are:

  • RedHat Enterprise Linux 7.2 (64-bit version)
  • RedHat Enterprise Linux 6.8 (64-bit version)
  • Ubuntu 16.04 (64-bit version)

Ergo can also be mined with Nvidia miner

Miners can fix value by minting SigUSD

Start mining

Solo Mining

You can solo mine on any of the pools that offer a solo port. Otherwise you will need to build a node and stratum server (pool) can also try ergoNomp

Please check this form to see if solo mining is worthwhile.

In order to operate them, you may or may not need to use Stratum Server and Stratum Proxy. These two projects are here:

Difficulty

  • EIP-0037 is an improved version of Ergo's original difficulty adjustment algorithm (DAA), known as the linear least squares method. Improvements resulting in a more responsive/smoother DAA are made by shortening epoch length, amplifying weight of the last epoch, and limiting change in difficulty as follows:

Epoch = 128 blocks

🔹 1. Calculate predictive difficulty using previous 8 epochs (128 blocks each). Limit result to 50% max change, compared to last epoch. 🔹 2. Calculate classic difficulty (as done in Bitcoin). 🔹 3. Take average of predictive & classic difficulty. 🔹 4. Limit adjustment so that difficulty is never changed by more than 50% per epoch.

Basics (with ideal block times of 120 seconds):

Epoch (how often difficulty is adjusted)= 128 Blocks x 2 min block time = 256min, so difficulty is adjusted every ~4.26 hrs

Adjustment Targeting Window = 8 epochs x 128 blocks x 2 min block time = 2048min, so difficulty algorithm uses ~34.1 hrs of recent blockchain history to determine next difficulty value {.is-info}

Host A Pool

Currently the #host-a-pool on Discord is the best place to get support configuring a pool.

Step by Step

  1. Setup a Node
  2. Setup ErgoStratumServer
  3. Point ergo-nomp to (1) and (2)

Resources

Calculators

Other Miners

Guides

Credits @ÅrÖhBê @Glasgowm

Footnotes

  1. EDITOR'S NOTE: This last statement is possibly pre Ergo "hardening upgrade" (Ergo's 1st hardfork which turned off pool resistance among other things). As mentioned earlier in Handbook, 3gb is enough VRAM to mine Erg but that will soon change with Ergo's scheduled "DAG" increase (DAG is a misnomer according to kushti here it's actually a table) .