Skip to main content

Crate groth16_proofs

Crate groth16_proofs 

Source
Expand description

Orbinum Proof Generator Library

Generates Groth16 proofs from pre-calculated witness using arkworks.

§Architecture

  • utils: Utility functions (hex conversions)
  • circuit: Circuit wrapper for arkworks
  • proof: Proof generation logic (native Rust)
  • wasm: WASM bindings for browser usage

Structs§

WitnessCircuit
Minimal circuit wrapper for arkworks

Functions§

decimal_to_field
Convert decimal string to field element (snarkjs format)
generate_proof_from_witness
Generate a Groth16 proof from witness
hex_to_field
Convert hex string to field element