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

Functions

None submit (Context ctx, str tx_file)
 

Function Documentation

◆ submit()

None zecale.cli.zecale_submit.submit ( Context  ctx,
str  tx_file 
)
Submit a nested transaction to the aggregation server

Definition at line 13 of file zecale_submit.py.

13 def submit(ctx: Context, tx_file: str) -> None:
14  """
15  Submit a nested transaction to the aggregation server
16  """
17  cmd_ctx: CommandContext = ctx.obj
18 
19  # Load nested transaction and submit to the aggregation server
20  nested_snark = cmd_ctx.get_nested_snark()
21  nested_tx = load_nested_transaction(nested_snark, tx_file)
22  aggregator_client = cmd_ctx.get_aggregator_client()
23  aggregator_client.submit_nested_transaction(nested_snark, nested_tx)
Here is the call graph for this function:
zecale.cli.utils.load_nested_transaction
NestedTransaction load_nested_transaction(IZKSnarkProvider zksnark, str tx_file)
Definition: utils.py:20
zecale.cli.zecale_submit.submit
None submit(Context ctx, str tx_file)
Definition: zecale_submit.py:13