def get_privatekey(keystore_path): address_hex, privatekey = prompt_account(None, keystore_path, None) return privatekey
def get_privatekey_hex(keystore_path): address_hex, privatekey_bin = prompt_account(None, keystore_path, None) return hexlify(privatekey_bin)