Skip to main content

Farming BPX on Debian / Ubuntu

1. To start farming BPX, you need a working andfully synchronized full node. If you don'don’t already have it,one, follow all the steps of this tutorial first.

2. LoginLog in as root.the SwitchBPX Chain services user, or switch to BPXthis servicesaccount userfrom the root console with the following command:

su - bpxv3bpxchain

3. UseSet thisthe commandwallet address where you want to setreceive farmingblock rewards target address.rewards. Replace 0xAAAA... with for instance, your correct walletMetaMask address.

bpx rpc beacon set_coinbase '{"coinbase": "0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}'

VirtualBox_Debian_11_06_2023_14_39_08.pngfarming-debian1.png

4. Import the key that was used to create your plots. ExecuteRun the following command and typeenter the 12 or 24 secret words. PressYou Enter.can Addadd an optional label for this keykey, or justsimply press Enter secondto time.skip.

bpx keys add

VirtualBox_Debian_11_06_2023_14_34_30.pngfarming-debian2.png

5. Use the following command to add eachall folderfolders wherewith you haveyour plots. Replace /mnt/hdd1 with yourthe actual path.

bpx plots add -d /mnt/hdd1

VirtualBox_Debian_11_06_2023_14_44_00.pngfarming-debian3.png

6. Press Control + D to log out and returnReturn to the root console.

7. Modify the beaconBeacon clientClient service descriptor fileconfiguration using any text editor, for example nano editor:

nano /etc/systemd/system/bpx-beacon.service

Replace the line:

ExecStart=bpx start nodebeacon

To:With:

ExecStart=bpx start nodebeacon farmer

Save the file by pressing Control + O and close the editor with Control + X.

VirtualBox_Debian_11_06_2023_14_50_19.pngfarming-debian4.png

8.7. RefreshReload startupthe system services configurationconfiguration.

systemctl daemon-reload

9.8. Restart beaconthe clientBeacon to runClient with the farmer process enabled.

systemctl restart bpx-beacon

10.9. Your farmer is active and configuredset to automatically start on system boot. Use the commands below to check the farming status.

su - bpxv3bpxchain
bpx farm summary