Expand description
Python bindings for VES STARK proof system
This crate provides Python bindings for generating and verifying STARK compliance proofs using PyO3.
Structs§
- Compliance
Proof - Result of proof generation
- Compliance
Public Inputs - Public inputs for compliance proof generation/verification
- Policy
- Policy type for compliance proofs
- Verification
Result - Result of proof verification
Functions§
- compute_
policy_ hash - Compute the policy hash for given policy ID and parameters
- create_
payload_ amount_ binding - Create a canonical payload amount binding for the supplied public inputs and extracted amount.
- prove
- Generate a STARK compliance proof for the provided amount witness.
- verify
- Verify a STARK compliance proof
- verify_
agent_ authorization - Verify an
agent.authorization.v1proof against a canonical authorization receipt. - verify_
agent_ authorization_ with_ amount_ binding - Verify an
agent.authorization.v1proof against both a canonical payload amount binding and a canonical authorization receipt. - verify_
with_ amount_ binding - Verify a STARK compliance proof against a canonical payload amount binding.