8 from click
import option, command, pass_context, Context
15 default=AGGREGATOR_VERIFICATION_KEY_FILE_DEFAULT,
16 help=f
"Output file (default: {AGGREGATOR_VERIFICATION_KEY_FILE_DEFAULT})")
22 Get the aggregator (wrapping) verification key from the aggregation server
25 cmd_ctx: CommandContext = ctx.obj
26 aggregator_client = cmd_ctx.get_aggregator_client()
27 aggregator_vk = aggregator_client.get_verification_key(
28 cmd_ctx.get_wrapper_snark())
29 with open(vk_out,
"w")
as vk_f:
30 json.dump(aggregator_vk.to_json_dict(), vk_f)