4. Stake Funds
After the Operator program starts running, stake BTC as security deposit to start processing transactions. Operator can unstake the BTC if they behave properly (not acting maliciously and stealing users' funds). Follow these 3 steps to complete staking:
Transfer Funds
Transfer sufficient BTC to the operator's main address, at least stake_amount
+ dust
+ gas
BTC.
stake_amount
is 0.1 BTC.
Stake Funds
When the operator's main address has enough BTC for staking, and the EVM address has enough FIABTC for gas fee, execute the following command to complete staking:
./bcli operator -n mainnet stake
Alternative command using nohup (recommended for stability):
If you want to run the staking process in the background to avoid terminal disconnection issues, use the following commands:
Start the staking process with nohup:
nohup ./bcli operator -n mainnet stake > stake.log 2>&1 &
Get the process ID (will be displayed after running the command):
The system will show something like:
[1] 12345
(where 12345 is the process ID)
Monitor the progress in real-time:
tail -f stake.log
Check if the staking process is still running:
ps aux | grep "bcli operator"
Check Staking Status
Check staking status:
./bcli query -n mainnet stake -a <MAIN_ADDRESS>
When the staking status shows committee_signed, wait for the stake transaction to be confirmed on the blockchain (about 10 minutes), then you can check the operator status:
./bcli query -n mainnet operator -a <MAIN_ADDRESS>
If the status
is Active
, it means the operator has completed the staking process and has started working.
Last updated