Skip to main content

Crate zk_protocol

Crate zk_protocol 

Source

Structs§

AgentResponse
Response from an agent’s pricing/booking endpoint
AttestRequest
Request to the attester service to generate a ZK proof
AttestResponse
Response from the attester service
RegisterResponse
Response from POST /register-elf

Functions§

bytes_to_json_array
Convert bincode bytes to JSON array format for HTTP transport
deserialize_output
Helper to deserialize bincode bytes to any serde-compatible type
json_array_to_bytes
Extract bytes from JSON array format
serialize_input
Helper to serialize any serde-compatible type to bincode bytes