If your wallet is set with a password, then you need to unlock the wallet before using the miner, otherwise the miner will get an error when using the wallet to sign the transaction records. We can use the “btchd-cli” command to perform the unlocking operation, refer to the following example:
Please change the “wallet password” to your wallet password, the number after it is the number of seconds the unlocked state will remain, setting a longer value will keep your wallet available for a period of time.