prepare_r0_groth16_proof (Func)¶
Convert a borsh-encoded Groth16Receipt<ReceiptClaim> to the compressed
ark-groth16 proof bytes (hex), without a builder.
| PARAMETER | DESCRIPTION |
|---|---|
receipt
|
A borsh-encoded
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
str
|
The compressed proof bytes, hex-encoded.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
ZkError
|
If the receipt cannot be decoded or the proof cannot be prepared. |