Zecale - Reconciling Privacy and Scalability on Smart-Contract Chains  0.5
Reference implementation of the Zecale protocol by Clearmatics
Functions | Variables
zecale.cli.zecale_get_verification_key Namespace Reference

Functions

None get_verification_key (Context ctx, str vk_out)
 

Variables

 default
 
 help
 

Function Documentation

◆ get_verification_key()

None zecale.cli.zecale_get_verification_key.get_verification_key ( Context  ctx,
str  vk_out 
)
Get the aggregator (wrapping) verification key from the aggregation server
and write to a file.

Definition at line 18 of file zecale_get_verification_key.py.

19  ctx: Context,
20  vk_out: str) -> None:
21  """
22  Get the aggregator (wrapping) verification key from the aggregation server
23  and write to a file.
24  """
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)

Variable Documentation

◆ default

zecale.cli.zecale_get_verification_key.default

Definition at line 15 of file zecale_get_verification_key.py.

◆ help

zecale.cli.zecale_get_verification_key.help

Definition at line 16 of file zecale_get_verification_key.py.

zecale.cli.zecale_get_verification_key.get_verification_key
None get_verification_key(Context ctx, str vk_out)
Definition: zecale_get_verification_key.py:18