pass the bitcoin client in arguments