Receipts demo
Check a receiptwith your own tools
The original demo, in seven screens. Check a published receipt, see which changes the verifier refuses, then compare proving costs.
Measured results, 2026-09-15
Screen 1: The claim
What one receipt proves
The policy is public. The record of actions stays private.
Payout batch
The policy
- Each action is one accrual, approval, payout or close, with timestamps that increase inside the batch period.
- An approval needs an approver who is not the initiator, as attested.
- A payout needs an approval since the last accrual, a verified payee and a sanctions-clear flag, as attested.
- The total paid never exceeds the total owed, and the total owed stays below the public cap.
- Closing condition: the close comes no earlier than the close time, nothing follows the close, and everything owed has been paid.
Public
- Policy commitment
0ba7dd39193930e5…Full value in public.json- Trace commitment
1b5ac4dbfbb1c331…Full value in public.json- Actions
- 64 of a capacity of 64
- Period
- 1 Jan 2026 00:00 to 8 Jan 2026 00:00 UTC
- Decision
true
8 public inputs in all.
Private
- The actions
- Every field of every action
- The salt
- Stops the commitment from revealing the record
In this demo the record and its salt are published test fixtures, so this receipt hides nothing.
Agent spend
The policy
- Each purchase has a valid mandate signature and goes to one of the mandate's four merchants, as attested.
- Purchases have timestamps that increase inside the mandate period.
- Each purchase stays within the per-purchase cap, and each merchant's running total stays within its cap.
- Any rolling 24 hours contains at most 16 purchases, and their total stays within the daily cap.
- A purchase above the step-up threshold needs recent strong authentication, as attested.
Public
- Policy commitment
1ea14c289ee8f20e…Full value in public.json- Trace commitment
2e8d604beb2715d7…Full value in public.json- Actions
- 24 of a capacity of 64
- Period
- 1 Jan 2026 00:00 to 31 Jan 2026 00:00 UTC
- Decision
true
14 public inputs in all.
Private
- The actions
- Every field of every action
- The salt
- Stops the commitment from revealing the record
In this demo the record and its salt are published test fixtures, so this receipt hides nothing.
Vault mandate
The policy
- Each action is a rebalance, a hedge, a flow or a mark.
- Timestamps increase inside the window, with no gap longer than the mandate allows.
- NAV equals the buckets plus the liquid balance, and each bucket stays within its cap.
- The liquid balance stays at or above its floor, and no input is older than the mandate allows.
- Closing condition: the last action comes no more than the allowed gap before the window end.
Public
- Policy commitment
0a324e074d3b7219…Full value in public.json- Trace commitment
1ff0c3cee524f0eb…Full value in public.json- Actions
- 64 of a capacity of 64
- Period
- 3 Sep 2026 14:10 to 3 Sep 2026 14:40 UTC
- Decision
true
9 public inputs in all.
Private
- The actions
- Every field of every action
- The salt
- Stops the commitment from revealing the record
In this demo the record and its salt are published test fixtures, so this receipt hides nothing.
NAV strike
The policy
- The published NAV matches the committed position rows within a set tolerance, and the share price matches NAV and supply.
- Every price and statement is fresh at the strike.
- Each asset and venue stays under its cap, and each venue keeps its margin buffer.
- Gross liabilities stay under the leverage limit, and liquid holdings cover pending redemptions plus the liquidity floor.
Public
- Policy commitment
2cac6d534ba44fd9…Full value in public.json- Trace commitment
260da66f67e73dc9…Full value in public.json- Actions
- 23 of a capacity of 32
- Decision
true
17 public inputs in all.
Private
- The actions
- Every field of every action
- The salt
- Stops the commitment from revealing the record
In this demo the record and its salt are published test fixtures, so this receipt hides nothing.
One proof covers the whole record, up to its capacity. The proof is not built from smaller proofs.
A receipt shows the committed record met the committed policy. It does not show the record is true or complete. In this run the prover made the trace commitment itself.
Screen 2: Check it yourself
Verify the receipt with your own tools
A stock Groth16 verifier checks the proof against the verifying key and the public inputs.
Files
- Verifying key
- vk.bin
- Proof
- proof.bin, 128 bytes
- Public inputs
- public.json, 8 field elements
| Public input | Value |
|---|---|
| Policy commitment | 0ba7dd39193930e570a3b82a79a7f667d59d2848163387f3eeeaf0ef0cacd87b |
| Trace commitment | 1b5ac4dbfbb1c33105efdb8d5acc78ea7b0cdf1e859306d8275cfa37991f4a87 |
| Action count | 64 |
| Period opens | 1 Jan 2026 00:00 |
| Period ends | 8 Jan 2026 00:00 |
| Close no earlier than | 2 Jan 2026 00:00 |
| Cap on the total owed | 100,000,000 |
| Decision | true |
Verify in this tab
Your browser loads the WebAssembly verifier served from /demos/verifier/pkg and checks each published receipt here, so nothing leaves your machine. The key is held to the SHA-256 this page pins.
- Payout batchNot checked yet
- Agent spendNot checked yet
- Vault mandateNot checked yet
- NAV strikeNot checked yet
To check the same receipt by hand, download the three files above and run them through snarkjs or any other Groth16 verifier over BN254.
Recorded in a WebAssembly engine: 8.88 ms (measured).
Same receipt, other verifiers
snarkjs
snarkjs groth16 verify verification_key.json public.json proof.jsonverification_key.jsonpublic.jsonproof.json
Recorded output: snarkJS: OK!
EVM
measured285,002 gas
One verifyProof transaction on a local chain (anvil, chain id 31337), base cost and calldata included. No testnet deployment.
Stellar
estimatedabout 34M CPU instructions
Range: 28M to 37M
Priced from Stellar's published cost parameters. A transaction may use 400,000,000 CPU instructions, so this is about 8%. The Soroban verifier is not built yet.
BN254 pairing checks run natively on Stellar mainnet since Protocol 25, 22 January 2026.
Gas and CPU instructions are different units. Neither is converted.
Screen 3: Try to cheat
Changes the verifier refuses
A dishonest prover could try each of these. The verifier from the last screen refuses every one.
Payout batch receipt
A record that breaks the policy
One payout goes to a payee without a sanctions-clear flag. The proof is presented with a decision of true.
Recorded result
Refused
proof REJECTED by the pairing check (1.40 ms)Another policy's key
The payout receipt is checked against the agent spend verifying key.
Recorded result
Refused
the receipt's policy commitment 0ba7dd39193930e570a3b82a79a7f667d59d2848163387f3eeeaf0ef0cacd87b is not the expected policy 1ea14c289ee8f20e8da56b45a90c1fd0856821c85197d55057c11f76e4bb4e2cFiles to try it with
One flipped bit
One bit of the 128-byte proof is changed.
Recorded result
Refused
proof does not decode: serialization error: the input buffer contained invalid dataFiles to try it with
An edited action count
The action count is changed from 64 to 63 after proving.
Recorded result
Refused
proof REJECTED by the pairing check (1.38 ms)Files to try it with
Vault mandate receipt
A record that breaks the policy
One action breaks the hedge band. The proof is presented with a decision of true.
Recorded result
Refused
proof REJECTED: not a valid receipt for the expected policy (policy commitment, config or pairing check; 1.53 ms)Another policy's key
The vault receipt is checked against the NAV strike verifying key.
Recorded result
Refused
the receipt's policy commitment 0a324e074d3b7219725ab476dbcfd8942883bc97efa869516c74a66af87f8c04 is not the expected policy 2cac6d534ba44fd9715b7a98feeed0cab204c2357357e491e40251cd2b96fb39Files to try it with
Another configuration
The verifier pins a different configuration of the same policy template.
Recorded result
Refused
the receipt's field labels are not the labels of the expected policyFiles to try it with
This case has no files of its own. The result is the one our command-line verifier recorded.
One flipped bit
One bit of the 128-byte proof is changed.
Recorded result
Refused
proof does not decode: serialization error: the input buffer contained invalid dataFiles to try it with
An edited action count
The action count is changed from 64 to 63 after proving.
Recorded result
Refused
proof REJECTED: not a valid receipt for the expected policy (policy commitment, config or pairing check; 1.48 ms)Files to try it with
Onchain, the EVM verifier returns false when a public input is edited.
Run the checks
Run every case above through the WebAssembly verifier in this tab. Each one passes by being refused.
Payout batch receipt
- A record that breaks the policy
- Another policy's key
- One flipped bit
- An edited action count
Vault mandate receipt
- A record that breaks the policy
- Another policy's key
- Another configuration
- One flipped bit
- An edited action count
To try a case by hand, download its files and give them to a verifier yourself. The recorded result above is what our verifier printed when we ran it.
Screen 4: Head to head
SP1 and Inherence prove the same record
SP1 is a general-purpose zkVM. Here it proves the same records as Inherence, on one machine.
On one Apple M4, 10 cores, 16 GB, macOS 26.6.2. Measured figures were timed on that machine. Estimated figures show their low to high range.
Payout batch, 64 actions
The same policy and the same record, proved both ways. SP1 v6.1.0.
- ~100xfaster to prove93x to 110x, SP1 estimated
- ~1,200xfaster to a proof a chain can verify730x to 1,600x, SP1 estimated
Time to prove
Inherencemeasured
135 ms
SP1 coreestimated
~14 s
13 s to 15 s
Time to a proof a chain can verify
Inherence, the same receiptmeasured
135 ms
SP1 with its Groth16 wrapestimated
~2.7 min
98 s to 3.5 min
Peak memory while proving
Inherencemeasured
83 MB
SP1 coreestimated
~7.4 GB
6.6 GB to 8.1 GB
Why SP1 is estimated
SP1 needs about 9 GB of memory for even the smallest proof here (8,828 MB at 10 actions) and more as the trace grows. On this 16 GB Mac with other apps open, this run pushed the machine into swap and was stopped so it would not record an inflated time. A Linux x86 host with 64 GB of memory or Succinct's prover network would measure it.
SP1's Groth16 wrap needs about 14 GB of memory for its last step alone and a separate native toolchain; an April attempt on this 16 GB Mac stalled at 86 percent memory and was stopped.
Every figure
Payout batch, 64 actions: Every figure Prover Equations or cycles Prove time Proof size Verify time Onchain verify Native evaluation None No proofevaluates in 0.0085 ms None None None SP1 core 250,810 cycles ~14 sestimated ~2.8 MBestimated ~58 msestimated None SP1 Groth16 wrap 250,810 cycles ~2.7 minestimated 260 bytesSP1 published Not estimated ~270,000 gasSP1 published Inherence receipt 41,154 equations36,950 for the policy alone 135 ms10 threads; 598 ms at 1 128 bytes 1.39 ms 285,002 gas8 public inputs 573 equations per action x 64 actions of capacity + 278 fixed + 4,204 for the commitment and public inputs = 41,154.
Vault mandate, basis trade, 64 actions
The same policy and the same record, proved both ways. SP1 v6.1.0.
- 36xfaster to proveboth measured
- ~310xfaster to a proof a chain can verify200x to 420x, SP1 estimated
Time to prove
Inherencemeasured
516 ms
SP1 coremeasured
18.4 s
Time to a proof a chain can verify
Inherence, the same receiptmeasured
516 ms
SP1 with its Groth16 wrapestimated
~2.7 min
100 s to 3.5 min
Peak memory while proving
Inherencemeasured
232 MB
SP1 coremeasured
9.5 GB
Why SP1 is estimated
SP1's Groth16 wrap needs about 14 GB of memory for its last step alone and a separate native toolchain; an April attempt on this 16 GB Mac stalled at 86 percent memory and was stopped.
Every figure
Vault mandate, basis trade, 64 actions: Every figure Prover Equations or cycles Prove time Proof size Verify time Onchain verify Native evaluation None No proofevaluates in 0.019 ms None None None SP1 core 751,073 cycles 18.4 s 2.8 MB 59.0 ms None SP1 Groth16 wrap 751,073 cycles ~2.7 minestimated 260 bytesSP1 published Not estimated ~270,000 gasSP1 published Inherence receipt 183,350 equations150,528 for the policy alone 516 ms10 threads; 2,337 ms at 1 128 bytes 1.44 ms 292,849 gas9 public inputs 2,342 equations per action x 64 actions of capacity + 640 fixed + 32,822 for the commitment and public inputs = 183,350.
NAV strike, policy template, 23 actions
The same policy and the same record, proved both ways. SP1 v6.1.0.
- ~48xfaster to prove41x to 82x, SP1 estimated
- ~380xfaster to a proof a chain can verify250x to 650x, SP1 estimated
Time to prove
Inherencemeasured
421 ms
SP1 coreestimated
~20 s
17 s to 35 s
Time to a proof a chain can verify
Inherence, the same receiptmeasured
421 ms
SP1 with its Groth16 wrapestimated
~2.7 min
100 s to 4.7 min
Peak memory while proving
Inherencemeasured
208 MB
SP1 coreestimated
~11 GB
9.5 GB to 12 GB
Why SP1 is estimated
SP1 needs about 9 GB of memory for even the smallest proof here (8,828 MB at 10 actions) and more as the trace grows. On this 16 GB Mac with other apps open, this run pushed the machine into swap and was stopped so it would not record an inflated time. A Linux x86 host with 64 GB of memory or Succinct's prover network would measure it. The number of shards past 751,073 cycles was not observed; the bounds allow 2 to 3.
SP1's Groth16 wrap needs about 14 GB of memory for its last step alone and a separate native toolchain; an April attempt on this 16 GB Mac stalled at 86 percent memory and was stopped.
Every figure
NAV strike, policy template, 23 actions: Every figure Prover Equations or cycles Prove time Proof size Verify time Onchain verify Native evaluation None No proofevaluates in 0.028 ms None None None SP1 core 948,769 cycles ~20 sestimated ~2.8 MBestimated ~58 msestimated None SP1 Groth16 wrap 948,769 cycles ~2.7 minestimated 260 bytesSP1 published Not estimated ~270,000 gasSP1 published Inherence receipt 135,211 equations125,166 for the policy alone 421 ms10 threads; 1,910 ms at 1 128 bytes 1.66 ms 355,188 gas17 public inputs 3,797 equations per action x 32 actions of capacity + 3,662 fixed + 10,045 for the commitment and public inputs = 135,211.
What the equations are spent on
The circuit is sized for its capacity, so actions the record does not use still cost equations.
A cycle is one CPU step, which SP1 then proves with many internal constraint rows. An equation is one row of the compiled circuit's R1CS.
Screen 5: Scaling
Cost as the record and the policy grow
Every point is one proof over the whole record. Estimated rows are marked and show their range.
Longer records
| Actions | Prover | Prove | Verify | Proof | Equations | Peak memory | Status |
|---|---|---|---|---|---|---|---|
| 10 | Inherence, 10 threads | 25.3 ms | 1.37 ms | 128 bytes | 4,774 | 15 MB | measured |
| Inherence, 1 thread | 101 ms | measured | |||||
| SP1 core | 12,534 ms | 2,792,332 bytes | measured | ||||
| SP1 Groth16 wrap | ~2.5 min98 s to 3.5 min | 260 bytes | estimated | ||||
| 100 | Inherence, 10 threads | 141 ms | 1.39 ms | 128 bytes | 42,700 | 84 MB | measured |
| Inherence, 1 thread | 627 ms | measured | |||||
| SP1 core | 13,162 ms | 2,794,812 bytes | measured | ||||
| SP1 Groth16 wrap | ~2.5 min98 s to 3.5 min | 260 bytes | estimated | ||||
| 1,000 | Inherence, 10 threads | 992 ms | 1.39 ms | 128 bytes | 423,175 | 430 MB | measured |
| Inherence, 1 thread | ~4.4 s4 s to 6 s | estimated | |||||
| SP1 core | ~24 s20 s to 39 s | ~2.8 MB2.8 MB to 4.2 MB | estimated | ||||
| SP1 Groth16 wrap | ~2.8 min110 s to 4.7 min | 260 bytes | estimated | ||||
| 10,000 | Inherence, 10 threads | 13,134 ms | 1.41 ms | 128 bytes | 4,227,925 | 4,133 MB | measured |
| Inherence, 1 thread | ~58 s53 s to 60 s | estimated | |||||
| SP1 core | ~2.8 min76 s to 6.3 min | ~11 MB6.9 MB to 28 MB | estimated | ||||
| SP1 Groth16 wrap | ~9.2 min4 min to 23 min | 260 bytes | estimated |
SP1 core took 495x as long as Inherence at 10 actions and 93x at 100, both measured. Beyond 100 actions SP1 proofs hit this Mac's memory limit and were stopped, so those points are estimated. Measured on Apple M4, 10 cores, 16 GB, macOS 26.6.2.
From 10 to 10,000 actions the proof stays 128 bytes with 7 public inputs, and verifying takes 1.37 ms to 1.41 ms. A chain's verify cost is set by the public inputs, not by the length of the record.
Larger policies
| Rules | Equations | Prove | Peak memory |
|---|---|---|---|
| 1 | 42,700 | 143 ms | 83 MB |
| 2 | 62,443 | 169 ms | 87 MB |
| 5 | 76,611 | 241 ms | 120 MB |
| 10 | 96,896 | 294 ms | 131 MB |
| 20 | 133,867 | 457 ms | 202 MB |
| 50 | 266,264 | 902 ms | 339 MB |
| 100 | 485,453 | 1,165 ms | 468 MB |
1 to 100 rules over 100 actions, all measured with 10 threads. From 1 to 100 rules the public inputs go from 7 to 37, and verifying takes 1.38 ms to 1.63 ms.
SP1 points for larger policies are estimated from its measured cycle counts, because each SP1 proof hit this Mac’s memory limit. They are in results.json.
Screen 6: Trusted setup
Where each verifying key comes from
Each key starts from the public Perpetual Powers of Tau file and adds one phase 2 contribution.
| Key | Equations | Phase 1 import | Phase 2 contribution | Key check |
|---|---|---|---|---|
payout_batch_settlementcapacity 64, one policymeasuredvk.bintranscript | 41,154 | 5,547 ms | 1,079 ms | 3,928 mspassed |
agent_spend_dailycapacity 64, one policymeasuredvk.bintranscript | 105,639 | 8,886 ms | 2,098 ms | 7,047 mspassed |
reserves_continuouscapacity 25, one policymeasuredvk.bintranscript | 111,352 | 11,122 ms | 2,077 ms | 6,915 mspassed |
nav_strikecapacity 32, policy templatemeasuredvk.bintranscript | 135,211 | 15,646 ms | 3,503 ms | 12,632 mspassed |
oracle_freshnesscapacity 64, one policymeasuredvk.bintranscript | 164,674 | 17,100 ms | 3,556 ms | 12,829 mspassed |
vault_mandatecapacity 64, policy templatemeasuredvk.bintranscript | 183,350 | 21,685 ms | 3,871 ms | 13,059 mspassed |
Phase 1: ppot_0080_20.ptau is secured by 61 Perpetual Powers of Tau contributions, then a public random beacon. Those contributions are 0001 to 0058, then 0078 to 0080 on the branch that continues from 0058. The file's tau, alpha and beta are safe if at least one of the 61 contributors was honest.
Phase 2: one contribution per key, ours. Until an outside contributor adds one, you have to trust Inherence Labs for that part of each key.
A policy template needs one key for all its configurations. Both vault mandate configurations verify under the same key.
A universal setup prototype needs no ceremony per policy. On single-action policies of 112 to 1,199 equations it gave 743-byte proofs. Its setup used a fixed test seed, and it does not yet prove these records.
Screen 7: The boundary
What compiles, and what needs a zkVM
Typed fields, running totals, windows and closing conditions over a bounded record compile. Hashing, general arithmetic and arbitrary loops need a zkVM.
Inside the boundary: 7 receipts
| Policy | Actions | Prove | Receipt |
|---|---|---|---|
| Payout batch | 64 of 64 | 135 ms | Publishedproof.binpublic.json |
| Agent spend, daily cap | 24 of 64 | 240 ms | Publishedproof.binpublic.json |
| Hourly reserve coverage | 25 of 25 | 277 ms | Not published |
| NAV strike, policy template | 23 of 32 | 421 ms | Publishedproof.binpublic.json |
| Oracle freshness | 23 of 64 | 466 ms | Not published |
| Vault mandate, basis trade | 64 of 64 | 516 ms | Publishedproof.binpublic.json |
| Vault mandate, lending bands | 48 of 64 | 513 ms | Not published |
Outside the boundary: document_digest_gate
Every action includes a document whose SHA-256 must equal a committed digest. The Inherence compiler has no hash construct.
- Inherence compiler
- Refused, outside the supported list
The compiler refused the policy: `digest` is not a supported input type. - SP1
- Runs the policy: 578,959 cycles for 10 actions, executed in 12.9 ms.
- Wrong document
- SP1 returns a decision of false, as it should.