Farming
Farming BPX on Windows
- 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.
2. If you already have running full node go to Settings and switch the working mode to Farming.
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.
4. Go to the Farming tab. Expand the menu in upper right corner and select Manage farming rewards.
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.
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 where you have plots. When all directories are added, click Close.
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"}'
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
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
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.
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