Farming with FlexFarmer
FlexFarmer aims to make farming Chia as easy as crypto mining through rewriting and optimizing the entire farming process in Golang replacing the standard harvester+farmer. It connects farmers to our hosted nodes over a blockchain bridge gateway which runs on powerful infrastructure hosted by us.
Requirements
- Computer that is compatible with FlexFarmer
- Initialized Plot NFT (Made via GUI or CLI)
- Plots bound to that Plot NFT
#1 Select Your OS
#2 Download FlexFarmer
#3 Extract Farmer Secret Key
To farm with FlexFarmer, you will need to extract your Farmer Secret Key from your primary mnemonic phrase. You can do it both locally on your machine, and in this browser.
python3 extract_farmer_key.py
Enter your mnemonic >
Enter your 24 word mnemonic phrase, and paste the secret key below.
#3 Copy Launcher ID
Your Launcher ID can be found in chia plotnft show, or in the GUI Pool Overview
chia plotnft show
Wallet height: ...
Sync status: Synced
Wallet id 2:
Current state: FARMING_TO_POOL
Current state from block height: ...
Launcher ID: 4973f2b459881b08295dff931c26dc0e511ce6fd46948e142ee151b1f97d7f23
Target address (not for plotting): xch1d00purr0n5ae8hz706rcwge90m09w00wa4v78d9fpawgdhs6p0fsjt6rd8
Owner public key: 1b434567c4a027e0e737245f3168e6fff86972a40803fd9243e912db192785d8f06f789f18c226c2e2f6331604c79967
P2 singleton address (pool contract address for plotting): xch1f9el9dze3qdss22al7f3cfkupeg3eehag62gu9pwu9gmr7ta0u3s225yls
Current pool URL: POOL_URL
Current difficulty: 1
Points balance: 9999
Relative lock height: 100 blocks
Payout instructions (pool will pay to this address): xch1egymuhquwg94e8wdkn2gzulghs7sngnmdr4k003j8xqu76dgwhjs9n84mu
#4 Specify your Payout Address
Payout address is the wallet address where all your rewards (including the finder 0.25 XCH reward) will go. You will be able to view statistics on the Flexpool dashboard by entering this address.
#5 Name your worker
Select an arbitrary name for your FlexFarmer instance. This name will be used to identify a certain worker in the Flexpool dashboard.
#6 Specify where your plots are located
You must tell FlexFarmer what plot directories it should use. Use the interactive directory selector below to configure them.
#7 Select your region
For the best performance and connection reliability, you should choose the region with the lowest latency to your farming hardware. This table is displaying latency between regional servers and this device.
Region Name | Endpoint | Latency | |
---|---|---|---|
Germany | xch-de.flexpool.io | n/a | |
United States (East) | xch-us-east.flexpool.io | n/a | |
United States (West) | xch-us-west.flexpool.io | n/a | |
Singapore | xch-sg.flexpool.io | n/a |
#8 Configure FlexFarmer
Create a new file named config.yml, and copy-paste the FlexFarmer configuration we have prefilled for you. Save it, and proceed to the next step.
1plot_directories: # Directories (folder paths) where plots are located2 - "N/A"3farmer_secret_key: "N/A" # Used to sign partials and blocks4launcher_id: "null" # Identifier of your Plot NFT5worker_name: "null" # Arbitrary name that will be shown on your Dashboard6region: "" # The primary region FlexFarmer will connect to by dafault7payout_address: "null" # Address to where all rewards will go
#9 Run FlexFarmer
After you have created the config file, you can run FlexFarmer by executing this command in the terminal:
./flexfarmer -c config.yml