HEAT MINING

The public HEAT blockchain is always looking for new miners / forgers to maintain it. Participants in a mining get rewarded for dedicating their resources and time to solving computational algorithms. Join the community and get your node up and running in ten minutes. The instructions below will help you set it up quickly.

INSTALLATION NOTES

A. You will need at least 2 Gb of memory, so a free tier from for example AWS will not work.

B. Does no support 32-bit hardware or java only.

C. SAFETY RECCOMMENDATION: if there is direct access to funds in the node, use two accounts, one for forging and one where you hold your $HEAT, and from which you lease the balance to your forging account / node. That way the funds are not exposed. If no direct access to the funds from the node, than it is not necessary.

Find extra support on how to secure a node on these two recommended Medium articles.

1. Extensive guide to a secure LTO.network public node setup 2. How To Secure Your ARK Node 

STEP 1: PREPARATION

  • Order a Virtual Private Server , for example at ovh.com. Here is an updated list of best VPS providers. And here one if looking for temporary Free options. 
  • Create an account at http://heatwallet.com and write down your account number and passphrase.
  • Open your terminal on your computer to enter command lines.

STEP 2: INSTALLATION

  • In the terminal enter…ssh root@yourserver.ovh.net. Then enter the root password when asked. 
  • Optional: if you are taking the safety reccommendation, then create another user instead of using root access, change default ssh port, configure access with firewall.
  • Packages and updates: sudo apt-get update sudo apt-get upgrade sudo apt-get install openjdk-8-jdk sudo apt-get install unzip sudo apt-get install curl.
  • Get the latest version of the app (v3.0.0) and open up the app folder. You can find the latest releases: https://github.com/Heat-Ledger-Ltd/heatledger/releases. wget https://github.com/Heat-Ledger-Ltd/heatledger/releases/download/v3.0.0/heatledger-3.0.0.zip. unzip heatledger-3.0.0.zip cd heatledger-3.0.0.
  • Edit the conf file… vi conf/heat-default.properties. Press I to go in insert mode and change these fields: heat.apiKey=something (Change this by anything) heat.myAddress=Public IP address heat.myPlatform= (Your Heat account number, create an account at heatwallet.com) heat.maxNumberOfConnectedPublicPeers=500 heat.myHallmark=Your Hallmark generated from https://heatwallet.com/api/#!/Tools/encode (you will need your secret passphrase to generate your Hallmark and the IP of your server) Press ESC once it's edited. Enter :w to save. Enter :q to quit. 
  • Start the blockchain. screen -mS heatledger bin/heatledger Wait for full sync with the blockchain. Once you have downloaded the latest block from this page https://heatwallet.com/#/explorer you can start forging. You can also check that your node is online at https://heatwallet.com/nodes.cgi (it might take a few minutes before it shows).

STEP 3: MASTERNODE SETUP (OPTIONAL)

This step is optional and can be ignored - however at the cost of >50% POP block rewards if you're not running a masternode.

Masternodes are enhanced server nodes that all have equal chance to win the PoP reward (currently 2 HEAT) granted every block to a random account from the list of valid masternodes.  

To assign a Masternode you need to register the Internet Address (domain name or IP address) of your node on which the account is forging. This can be performed in the HEAT Wallet application (web or desktop) after having logged on to your account. The top right dropdown menu contains item "Register Masternode Address".  

Masternode registration network fee is 100 HEAT, valid for 90*3456 blocks (approx. 90 days). To be eligible for the PoP reward lottery, Masternode account must have a minimum guaranteed balance of 1000 HEAT. This is checked at the time each new block is created. Additionally the validity of Masternode registration period is checked at that time, and expired Masternodes are not eligible for PoP rewards.  

Note that after block height 2700000, to get the POP reward the generator account must be associated with the Masternode. This motivates the account owner to run the online forging node that supports the HEAT network as a whole.

STEP 4: FORGING LAUNCH

  • Open a new tab in the terminal (Cmd+T on Mac). 
  • Log in again in your server if you are not logged in (step 1).
  • Go inside the heat folder by using cd heatledger-3.0.0.
  • Replace YOURAPIKEY by your ApiKey then enter this command : read -s KEY ; curl -k -s "http://localhost:7733/api/v1/mining/start/${KEY// /%20}?api_key=YOURAPIKEY" ; unset KEY.
  • Enter your passphrase and then the enter button.
  • If you see something like {"deadline":55985,"hitTime":110535218} it's forging. 

TIPS & TRICKS

  • If you close the window and want to come back, just log in in the server again (step 1) and type screen -r, if the window doesn't show directly type screen -r ID (example : screen -r 2230) the ID can be found by typing screen -r. 
  • Check on https://heatwallet.com/nodes.cgi that your node is running. You can check your rewards at https://heatbrowser.com/report.html. You can have a view of your account at http://heatnodes.org/?ac=ACCOUNT&page_id=136 (replace ACCOUNT by your Heat account number).
  • You can also check other information at http://heatnodes.org/?page_id=329. 
  • Other useful commands include 1) list folder: Is -l., 2) stop node: CTRL + C, 3) screen help: https://www.tecmint.com/screen-command-examples-to-manage-linux-terminals/.

ABOUT HEAT LEDGER LTD.

HEAT LEDGER LTD. (HL), founded in 2016, is a multinational blockchain software company based in Helsinki, Finland. Our mission is to be recognized among users, developers and organizations as the number 1 platform to create, manage, store and trade digital assets. HEAT Ledger believes in the concept of decentralization as a way to create a more inclusive and democratized market environment.