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"}'
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
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
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.
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