bidbot
bidbot copied to clipboard
How to run bidbod with --fake-mode option
I want test bidbot now . here is my operation 1: init the bidbot
bidbot init --fake-mode
got this output
Initialized configuration file: /home/chenwei/.bidbot/config
Bidbot needs a signature from a miner wallet address to authenticate bids.
1. Sign this token with an address from your miner owner Lotus wallet address:
lotus wallet sign [owner-address] 0024080112208b8633e130734dd1d675292b86d48eff47705140867dfecee8b7c20680ec6ff1
2. Start listening for deal auctions using the wallet address and signature from step 1:
bidbot daemon --storage-provider-id [id]
--wallet-addr-sig [signature]
--lotus-miner-api-maddr [lotus-miner-api-maddr]
--lotus-miner-api-token [lotus-miner-api-token-with-write-access]
--deal-start-window [correct-deal-start-epoch-window-for-your-miner]
Note: In the event you win an auction, you must use this wallet address to make the deal(s).
Good luck!
and then I run the bidbot daemon with this command:
bidbot daemon --fake-mode
got this error
2021-09-28T17:51:33.333+0800 INFO bidbot bidbot/main.go:299 bidbot version: git build date: 2021-09-28T08:57:38Z git summary: v0.1.0 git branch: main git commit: 9e37e26 git state: clean 2021/09/28 17:51:33 --storage-provider-id is required. See 'bidbot help init' for instructions
You should follow the steps from bidbot init
that you pasted there.
The log output error mentions that you should provide --storage-provider-id
which is mandatory, apart from other mandatory flags also mentioned in that Step 2. output in bidbot init
.
Please also be aware that --fake-mode
is not meant for any serious use. It doesn't contact with your lotus, so you may run into a situation that bidbot wins an auction, your lotus accepts the proposal but can never fulfill the deal because the data is not imported.
So i need a miner even when running on fake mode, right?