Hanacoin is a coin based on the Lyra2REv2 algorithm, with the goal of being a mainstream cryptocurrency that is decentralized and ASIC resistance, that allows anyone to participate and use the coin. Hanacoin was just released in June 2018. They also have a long roadmap that list many things until 2021.
Now that we know the details about Hanacoin, let’s get to mining some HANA!
Some General Mining Tips
So before we start this tutorial, I have two tips for making the most out of your mining experience. First make sure you have the latest drivers for your GPU’s. Secondly, most mining software will get flagged as a virus from virus scanners. Because of this, if your mining on your normal everyday use or gaming computer that has an antivirus installed, you will want to exclude the mining software from the antivirus. What I like to do, is I make one folder and then put all of my mining software in sub folders. I then exclude the top level folder from the antivirus and that excludes all the mining software.
Mining Pools
The first thing we need is a mining pool. You can solo mine, but the payouts could take months depending on how powerful your mining rig is, and the mining pools usually charge a very small fee (1% or less). Using a pool will allow you to receive consistent payouts, multiple times per day.
For this tutorial we will use https://fairmine.pro/site/coininfo?coin=HANA. I have chosen this pool because fairmine is a notable mining pool for and has low fees (0.7%)
Now that we have a pool, lets start mining!
CPU Mining
Their are only two options for mining Equihash using a CPU. One is Minergate, but I don’t prefer them because they take a large percentage of your profits because of the easy to use system they have. The only real miner is Nicehash’s nheqminer. You can download the precompiled binaries for Windows or Linux.
We will not focus on CPU mining since it is not profitable, compared to GPU mining.
GPU Mining – Nvidia
For GPU mining there are many programs for Nvidia, but the one I have found to be the best is CCminer. The miner does not have a Dev fee. The miner is compatible with Windows and Linux. You can find the official page and the download link at https://github.com/tpruvot/ccminer/releases
Once downloaded, it is really simple to use.
Just create a new batch file (or script file if using linux) inside the folder where the miner is and paste this into the batch file
ccminer-x64.exe -a algorithm -o stratum+tcp://mining_pool:port -u user_name.worker_name -p c=coin_symbol
Replace “algorithm” with the algorithm you want to use. In this case we have to use “lyra2v2”
Replace “mining_pool” with eu1.fairmine.pro
Replace “port” with 4533
Replace “wallet_public_key” with your wallet address.
Replace “coin_symbol” with HANA
Double click the batch file to run the miner, and you should see something like this
Note this picture is taken from my How to Mine Straks (STAK): Complete Beginner’s Guide
The red arrow indicates the GPU detected and the total speed.
The blue arrow indicates the GPU clock speed, hashes per watt, total power usage, temperature and fan speed.
GPU Mining – AMD
For GPU mining there are many programs for AMD, but the one I have found to be the best is sgminer. The miner has no Dev fee. The miner is compatible with Windows and Linux. You can find the official page and the download link at https://github.com/genesismining/sgminer-gm/releases
Once downloaded, it is really simple to use.
Just create a new batch file (or script file if using Linux) inside the folder where the miner is and paste this into the batch file
setx GPU_FORCE_64BIT_PTR 1 setx GPU_MAX_HEAP_SIZE 100 setx GPU_USE_SYNC_OBJECTS 1 setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_SINGLE_ALLOC_PERCENT 100 sgminer.exe -k algorithm -o stratum+tcp://mining_pool:port -u user_name.worker_name -p c=coin_symbol
If using Linux, remove all of the setx commands.
Replace “algorithm” with the algorithm you want to use. In this case we have to use “Lyra2REv2”
Replace “mining_pool” with eu1.fairmine.pro
Replace “port” with 4533
Replace “wallet_public_key” with your wallet address.
Replace “coin_symbol” with HANA
Double click the batch file to run the miner, and you should see something like this
Note this picture is taken from my How to Mine Straks (STAK): Complete Beginner’s Guide
The red box indicates the total speed for all of the GPU’s combined.
The blue box indicates each GPU’s temperature, fan speed and total speed.
If there are problems may not have enough virtual memory. You may need 16GB of virtual memory (for Vega GPU’s you need more like 16GB per GPU) to change this go to Control Panel -> System and Security -> System and the click Advanced system settings on the left. From there, click settings under the advanced tab. Next click change, and then on the third screen, uncheck automatically manage, choose custom size, and type in the size (in MB) for both text boxes. Then press the set button, and then the ok button.
General Troubleshooting
One thing to monitor for is stale or rejected shares. If you see a lot of stale shares, you may want to try a server that is closer to you. If you see a lot of rejected shares, try to lower the intensity of the miner if available.
How much HANA will I earn per day?
To figure this out, you would go to https://whattomine.com/coins/270-hana-lyra2rev2 and use their calculator. The calculator does provide a rough estimate, so you may get paid a higher or lower amount than what the calculator actually says.
Most of the values are already correctly entered, and you only need to edit a few values.
Hash rate: Enter your total speed (in megahashes per second) for all of your mining computers. This would be the “total speed” value in your mining software. Make sure to add up all of the computers your using for HANA mining.
Power: Enter the total amount of power (in watts) that your mining rig is using. Some mining software will measure this for you. You can also measure total power consumption for your computer using special software, or a kilowatt meter. I prefer using a kilowatt meter, because I find it to be the most accurate. Make sure to add up all of the computers your using for HANA mining.
Electricity Cost: Enter the cost per kilowatt hour that you pay to your electricity company. I was able to find this info in my monthly bill, as well as on their website.
Pool fee: Enter the pool fee + the miner software dev fee. For our example you would enter 0.7 + 0 = 0.7
Hardware cost: Enter in the total cost of all of your hardware.
Using my AMD Vega system for an example, I will show you how to read the data. In the above image there is really 3 things that I look for.
#1 Look at the Difficulty 24h and the Difficulty 7 days. We want these to be around the same, which they are. This tells us that the calculations we will look at in the second image below, will be accurate for days to come, as long as the price is not volatile.
#2 Look at the EX. volume 24h and the Market Cap. Generally, the bigger these are, the less volatile the price will be. We want the price to not be volatile so our calculations will be accurate for days to come. In this example, the market cap is small, so the price could change a little day to day.
#3 Look at the Create 1 BTC in and the Break even in. It is always interesting to see how long it will take your mining rig to create 1 BTC. The break even in, will show you a rough estimate of how long it would take to pay off your mining rig, by mining this particular coin. This is great to use before you build your mining rig, to see how long it will take until you will see profits.
In this image, we can quickly see how many coins and USD value we will make in certain time frames. You want to look at the Profit column, since this is the value after paying for your electricity usage. I usually just focus on the daily payout in USD. By just focusing on this number, you can run the calculator for a few different coins, and quickly see which coin is most profitable for your mining rig setup. Keep in mind you also want to weigh the daily payout with the market cap. A low market cap coin may be really profitable one day, and then could have half the payout tomorrow.
That’s it. You should now be mining Hanacoin! Make sure to type in your public key into the mining pool’s dashboard, to keep track of your statistics.