Farming

Farming BPX on Windows

  1. To start farming you need a working and synchronized full node. If you don't already have it, follow all the steps of this tutorial first, but in the step from screenshot below, choose Farming Mode instead. Then go to the Step 4.

VirtualBox_Win10_07_06_2023_15_56_13.png

2. If you already have running full node go to Settings and switch the working mode to Farming.

VirtualBox_Win10_08_06_2023_11_11_06.png

VirtualBox_Win10_08_06_2023_11_13_54.png

3. Wait for the additional processes needed for farming to start. You need to confirm opening the port on the Windows firewall, just like during the installation.

VirtualBox_Win10_08_06_2023_11_14_07.png

4. Go to the Farming tab. Expand the menu in upper right corner and select Manage farming rewards.

VirtualBox_Win10_08_06_2023_11_18_19.png

5. Delete the default null address and paste there your BPX wallet address, e.g. Metamask. You will be receiving all farming rewards to this address. Click Save.

VirtualBox_Win10_08_06_2023_11_20_38.png

6. Go to the Plots tab. Expand the ADD KEY menu and select Import Existing.

VirtualBox_Win10_08_06_2023_11_28_25.png

7. Enter the mnemonics that were used to create your plots and click Next.

VirtualBox_Win10_08_06_2023_11_30_09.png

8. Expand the menu in right top corner and select Add Plot Directory.

VirtualBox_Win10_08_06_2023_11_33_49.png

9. Use the Add Plot Directory button to add each folder where you have plots. When all directories are added, click Close.

VirtualBox_Win10_08_06_2023_11_35_10.png

10. Farming will start immediately after adding the first plots directory. You can check whether plots pass through the filter in the Farming tab. Sometimes it may be necessary to restart the BPX Beacon Client GUI for farming to start.

Farming BPX on Debian / Ubuntu

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

2. Login as root. Switch to BPX services user

su - bpxv3

3. Use this command to set farming rewards target address. Replace 0xAAAA... with your correct wallet address.

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

VirtualBox_Debian_11_06_2023_14_39_08.png

4. Import key that was used to create your plots. Execute the following command and type 12 or 24 secret words. Press Enter. Add optional label for this key or just press Enter second time.

bpx keys add

VirtualBox_Debian_11_06_2023_14_34_30.png

5. Use the following command to add each folder where you have plots. Replace /mnt/hdd1 with your path.

bpx plots add -d /mnt/hdd1

VirtualBox_Debian_11_06_2023_14_44_00.png

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

7. Modify the beacon client service descriptor file using for example nano editor

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

Replace the line:

ExecStart=bpx start node

To:

ExecStart=bpx start node farmer

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

VirtualBox_Debian_11_06_2023_14_50_19.png

8. Refresh startup services configuration

systemctl daemon-reload

9. Restart beacon client to run with the farmer enabled.

systemctl restart bpx-beacon

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

su - bpxv3
bpx farm summary