Added OTP support in miner