|
Zecale - Reconciling Privacy and Scalability on Smart-Contract Chains
0.5
Reference implementation of the Zecale protocol by Clearmatics
|
Public Member Functions | |
| def | __init__ (self, str endpoint) |
| AggregatorConfiguration | get_configuration (self) |
| IVerificationKey | get_verification_key (self, IZKSnarkProvider wrapper_zksnark) |
| str | get_nested_verification_key_hash (self, IZKSnarkProvider nested_zksnark, IVerificationKey vk) |
| None | register_application (self, IZKSnarkProvider nested_zksnark, IVerificationKey vk, str app_name) |
| None | submit_nested_transaction (self, IZKSnarkProvider nested_zksnark, NestedTransaction nested_tx) |
| AggregatedTransaction | get_aggregated_transaction (self, IZKSnarkProvider wrapper_zksnark, str name) |
Public Attributes | |
| endpoint | |
Interface to Aggregator RPC calls. Interface uses the in-memory version of objects, internally converting to the protobuf versions.
Definition at line 18 of file aggregator_client.py.
| def zecale.core.aggregator_client.AggregatorClient.__init__ | ( | self, | |
| str | endpoint | ||
| ) |
Definition at line 23 of file aggregator_client.py.
| AggregatedTransaction zecale.core.aggregator_client.AggregatorClient.get_aggregated_transaction | ( | self, | |
| IZKSnarkProvider | wrapper_zksnark, | ||
| str | name | ||
| ) |
Request an aggregated transaction.
Definition at line 78 of file aggregator_client.py.

| AggregatorConfiguration zecale.core.aggregator_client.AggregatorClient.get_configuration | ( | self | ) |
| str zecale.core.aggregator_client.AggregatorClient.get_nested_verification_key_hash | ( | self, | |
| IZKSnarkProvider | nested_zksnark, | ||
| IVerificationKey | vk | ||
| ) |
Definition at line 39 of file aggregator_client.py.
| IVerificationKey zecale.core.aggregator_client.AggregatorClient.get_verification_key | ( | self, | |
| IZKSnarkProvider | wrapper_zksnark | ||
| ) |
Definition at line 32 of file aggregator_client.py.
| None zecale.core.aggregator_client.AggregatorClient.register_application | ( | self, | |
| IZKSnarkProvider | nested_zksnark, | ||
| IVerificationKey | vk, | ||
| str | app_name | ||
| ) |
Register an application. Throw an error with message if this fails for any reason.
Definition at line 47 of file aggregator_client.py.
| None zecale.core.aggregator_client.AggregatorClient.submit_nested_transaction | ( | self, | |
| IZKSnarkProvider | nested_zksnark, | ||
| NestedTransaction | nested_tx | ||
| ) |
Submit a nested transaction to the aggregator.
Definition at line 64 of file aggregator_client.py.

| zecale.core.aggregator_client.AggregatorClient.endpoint |
Definition at line 24 of file aggregator_client.py.
1.8.17