Farming
Farming BPX on Windows
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, but in the step shown in the screenshot below, choose the Farming Mode instead of Node Mode. Then, proceed directly to the Step 4.
2. If you already have a running full node, go to Settings and change the operating mode to Farming.
3. Wait for the additional processes required for farming to start. Allow the Windows Firewall to open the required port, just like during the client installation.
4. Go to the Farming tab. Expand the menu in the upper right corner and select "Manage Farming Rewards".
5. Delete the default zero address and paste your BPX wallet address where you want to receive block rewards, such as your MetaMask wallet address. Save the changes.
6. Go to the Plots tab. Expand the ADD KEY menu and select Import Existing.
7. Enter the mnemonics that were used to create your plots and click Next.
9. Use the "Add Plot Directory" button to add each folder containing your plots. Once all directories are added, click "Close".
10. Farming will begin immediately after adding the first plots directory. You can check whether your plots pass through the filter in the Farming tab.
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