Alephium mining was introduce in BzMiner v7. This guide will instruct you how to use BzMiner to mine Alephium.
NOTE: There are two network protocols BzMiner supports for Alephium; stratum
and alphstratum
. Solo mining to a full node or mining to devgent requires the "alphstratum" protocol. BzMiner will attempt to choose the correct protocol, however that may not always work.
Start by downloading the latest version of bzminer, found here. Then extract the contents of the archive.
There is a reference script (alph.bat
for windows, alph.sh
for linux) which contains a template for mining Alephium on bzminer.
bzminer -a alph -w 000000 000000 000000 000000 -p stratum+tcp://yourpool
Replace each 000000
with your mining wallet, keeping the correct order.
replace yourpool
with the pool's address and port you want to mine to.
Some pools expect all 4 mining wallet addresses, including solo mining, while other pools support a single wallet.
Example:
bzminer -a alph -w 000000 000000 000000 000000 -p stratum+tcp://pool.woolypooly.com:3106
Start by downloading the latest version of bzminer, found here. Then extract the contents of the archive.
A file called config.txt
should be present. Open this file and look for the section (at the top) called pool_configs
.
There should already be one or two pool config templates in there. In the first template, set the algorithm
to alph
, the wallet
to your wallet (if more than one wallet, can use json array, or single string with comma or space separated wallet addresses), and url
to the pool you want to mine to.
Example:
{ "pool_configs": [{ "algorithm": "alph", "wallet": ["00000", "00000", "00000", "00000"], // replace 0000 with your own wallet addresses "url": ["stratum+tcp://pool.woolypooly.com:3106"], // replace with the pool you wish to mine to. Add multiple pools for failsafe when a pool fails "username": "worker_name", "lhr_only": false }], "pool": [0], // pool config you wish to use by default when device_overrides does not specify "rig_name": "rig", "log_file": "", "nvidia_only": false, "amd_only": false, "auto_detect_lhr": true, "lock_config": false, "advanced_config": false, "advanced_display_config": false, "device_overrides": [] }
Go the the Hive OS site, which can be found here
Start by updating your Hive OS rig to latest version. The create a new flight sheet.
Set Coin
to ALPH
.
Create a new wallet with your wallet addresses (if multiple wallet addresses are required, separate by ,
or by space.
Set Pool
to Configure in miner
.
Set Miner
to BzMiner
.
Set Name
to anything you want to name this flight sheet.
In the Miner
option, click Setup Miner Config
.
In the opened BzMiner configuration
panel, Set Hash algorithm
to alph
.
Set Wallet template
to %WAL%
(or set to your wallet address directly).
Set Worker name
to whatever you want to identify this rig as on the pool.
Set Pool URL
to the pool url you want to mine to (eg. stratum+tcp://pool.woolypooly.com:3106
.
Click Apply Changes
, then deploy to the rigs you wish to mine alephium on.
To set config.txt parameters in Hive, you can use the Extra config arguments:
box in the BzMiner configuration window.
Add the arguments in this box as you would in the config.txt file
For example, to set the oc for 3 devices, you would need to do it like this:
As of v8.0.0, BzMiner now supports oc_ parameters to be strings of json arrays to get around hives interface preventing valid json arrays as the values:
"oc_fan_speed": "[-1, 80, 0]"
"oc_power_limit": "[0, 250, 0]"
"oc_core_clock_offset": "[100, 200, 100]"
"oc_memory_clock_offset": "[0, 0, 0]"
"oc_lock_core_clock": "[0, 0, 0]"
"oc_lock_memory_clock": "[810, 0, 810]"
Start by following the Hive OS guide above to get the latest version on Hive (currently v).
Run the following command on your Hive rig:
rm -f /tmp/*; cd /tmp; wget https://bzminer.com/downloads/bzminer_v{version_you_want}_linux.tar.gz; tar -xvf bzminer_v{version_you_want}_linux.tar.gz; miner stop; cp bzminer_v{version_you_want}_linux/bzminer /hive/miners/bzminer/{version_on_hive}/; miner start
Replacing {version_you_want}
with the version you want to update to, and {version_on_hive}
with the version you currently have selected in your flight sheet on hive
For example (you want v21.5.3, hive has v21.5.1):
rm -f /tmp/*; cd /tmp; wget https://bzminer.com/downloads/bzminer_v21.5.3_linux.tar.gz; tar -xvf bzminer_v21.5.3_linux.tar.gz; miner stop; cp bzminer_v21.5.3_linux/bzminer /hive/miners/bzminer/21.5.1/; miner start
Go the the mmpOS site, which can be found here
Start by creating a new miner profile.
Name the miner profile then select `Alephium` for the Coin.
The profile will update with available options for Alephium.
Select the platform you want to run this miner profile on (eg. `Linux / mmpOS`).
Select the miner `BzMiner`
Select the latest version
Now create a pool to mine to by clicking `ADD POOL` near the bottom
Set a name for this pool
Set the coin to `Alephium`
Set the hostname to the pool url (eg. `pool.woolypooly.com`)
Set the Port to the pools port (eg. `20023`)
Set the username you want your rig to show up as in the pools interface
Add a new wallet by clicking on the `ADD WALLET` button
Name your wallet
Set the Coin to `Alephium`
Set your wallet address
Click the `Create wallet` button
Click the `Create pool` button
Click the `Create pool` button
Click the `Create profile` button
Go to your list of rigs, find the rig you want to mine Alephium on and click into it.
Near the top right of the page, click the "Switch miner profile" button.
Now select the profile that was just created and click the `Switch` button.
Start by running the full node, found here
Follow any of the guides above to set BzMiner up, replacing the pool url with the ip address of your full node, and port number 10973
.
The full node uses the alphstratum protocol, so use alphstratum+tcp://
If your mining on the same pc that the full node is running on, use the ip address 127.0.0.1
Command line example:
bzminer -a alph -w 000000 000000 000000 000000 -p alphstratum+tcp://127.0.0.1:10973
If mining from a remote pc (BzMiner is running on a different pc than the full node), you must update the full node config to allow outside connections by adding the line:
alephium.mining.api-interface = "0.0.0.0"
to the full node config file. Then on the remote pc, use the ip address of the pc that the full node is running on.