Solo-Mining Pool

This page will take you through installation of the Aion solo mining pool, which should be used with the external miner.

Prerequisites

In order to run the solo mining pool, you must already have:

*Included by default with Ubuntu desktop, may need to be installed separately in Ubuntu server (see below):

🚧

Python installation (if necessary):

  1. Open terminal
  2. Run the following commands:
sudo apt-get update 
sudo apt-get install build-essential make 
sudo apt-get install python2.7 python-dev

Update Configure File

You will have to modify the config.xml file in the aion directory (aion/config/config.xml) before running the mining pool. Update the following fields in the consensus section:

FieldConfiguration
MiningSet to false to disable internal mining
Miner-addressThe wallet address that will collect mined rewards. The account address created in creating accounts section can be used for this purpose

Example of an updated consensus section to enable external mining:

<consensus>
  <mining>false</mining>
  <miner-address>0xa0----------------your-account-address--------------------------</miner-address>
  <cpu-mine-threads>8</cpu-mine-threads>
  <extra-data>AION</extra-data>
<consensus>

In the APIs enabled section, verify that the "stratum" option is included.

<apis-enabled>web3,eth,personal,stratum</apis-enabled>

Install and Run

  1. Download the latest prepackaged mining pool file aion-solo-pool-{version}.tar.gz from the aion_miner release page
  2. Extract the file to the desired directory
  3. Open terminal in aion-solo-pool-{VERSION} directory, run the command
./configure.sh

🚧

Note

The configure.sh script may take several minutes to complete, and should only be run once.

  1. Once the script completes, run:
./run_quickstart.sh
  1. Launch the Aion kernel in a separate terminal (Navigate to the aion directory and run:
./aion.sh

If you now have the kernel, miner, and solo-mining-pool running, congrats! You're now mining on Aion.

πŸ“˜

Check Balance

You can check your balance by inputting your address at the top of the Aion dashboard.