Comment on page
There are 2 ways to mine currently.
MinAxnt- cross platform miner (Recommended)
Axem- runs on Linux, MacOs and currently must be compiled from the Axentro source code
You can mine against the testnet (for experimenting) or mainnet (for real):
You can mine using MinAxnt on Windows, Linux, MacOs and Android mobile phones. This is the easiest way to get started and the one we recommend.
> ./axem -w testnet-wallet-1.json --testnet -n http://testnet.axentro.io --process=2
This is going to startup a miner that connects to the testnet node with 2 processes. We supply the wallet we want our rewards to go to with the
-nflag is how we specify our connecting node - which in this case is the testnet node.
You can also look in the blockchain explorer:
> ./axe wallet amount -w testnet-wallet-1.json -n http://testnet.axentro.io
If we look at the amount of
AXNTtokens you will see you will have something like 0.7
Depending on when you look - you might see it still says 0.0 - but after mining for a while the transactions will be processed and the blocks added to the testnet and then you will see the balance start to increase. Mining blocks are mined approximately every 2 minutes.
You can mine against any node simply by passing in the node's url with the
-nflag. For example you could startup a public node that is connected to the public testnet and mine against the testnet via your public node. In essence this is how mining pools work on Axentro.
More information will be provided on running public nodes in the near future
The main motivation for mining is to receive rewards. When a new block is mined the maximum total payout is
12 AXNTbut this value decreases over time with each block that is mined. The node on which the block was mined always receives
25%of the total payout and all the miners connected to the node receive a prorated amount depending on how many hashes each miner has worked through.
For example a single miner on the network would expect to receive the full
75%of the block reward. Three miners all working at approximately the same hash rate would receive
25%each. In some cases if there are a great many miners connected to the node and some of them have an insignificant hash rate compared to the majority then they will not receive any reward.