Farming BPX on Debian / Ubuntu
1. To start farming BPX, you need a fully synchronized full node. If you don’t have one, follow all the steps of this tutorial.
2. Log in as the BPX Chain services user, or switch to this account from the root console with the following command:
su - bpxchain
3. Set the wallet address where you want to receive block rewards. Replace 0xAAAA...
with for instance, your MetaMask address.
bpx rpc beacon set_coinbase '{"coinbase": "0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}'
4. Import the key that was used to create your plots. Run the following command and enter the 12 or 24 secret words. You can add an optional label for this key, or simply press Enter to skip.
bpx keys add
5. Use the following command to add all folders with your plots. Replace /mnt/hdd1
with the actual path.
bpx plots add -d /mnt/hdd1
6. Return to the root console. Modify the Beacon Client service configuration using any text editor, for example nano:
nano /etc/systemd/system/bpx-beacon.service
Replace the line:
ExecStart=bpx start beacon
With:
ExecStart=bpx start beacon farmer
Save the file by pressing Control + O and close the editor with Control + X.
7. Reload the system services configuration.
systemctl daemon-reload
8. Restart the Beacon Client with the farmer process enabled.
systemctl restart bpx-beacon
9. Your farmer is active and set to automatically start on system boot. Use the commands below to check the farming status.
su - bpxchain
bpx farm summary
No Comments