web-prover-circuits: Web Proof Launch Ready 🚀
No due date
80% complete
Goals for Initial Web Proofs Launch
- Payload Size
- At least 1.5KB (500 bytes per request and 1 kilobyte per response)
- Do the proofs need combined? No, we are okay with either 1 or 2 separate proofs
- Speed
- Deliver a proof of the above payload size in less than 60s
- This includes download time for artifacts on a reasonable internet connection (100Mb)
- Mem…
Goals for Initial Web Proofs Launch
- Payload Size
- At least 1.5KB (500 bytes per request and 1 kilobyte per response)
- Do the proofs need combined? No, we are okay with either 1 or 2 separate proofs
- Speed
- Deliver a proof of the above payload size in less than 60s
- This includes download time for artifacts on a reasonable internet connection (100Mb)
- Memory usage
- <2gb would be ideal (4gb is ceiling on web, we need to measure mobile)
- Arbitrary Domain Support
- Definition ~90% of top 1,000 domains can successfully be called through our proxy
- Works on the top 10 most requested domains
- Coinbase
- Spotify
- Delta points
- Uber
- Amazon
- Venmo
- Wells Fargo
- Ticketmaster
- WSJ
- Problems: bug example
- Platforms
- At least one platform either iOS or WASM
- WASM has oddball issues:
- Deserialization of
AuxParams
is very slow (>60s itself) CompressedProof
generation is very slow (>60s?)
- Deserialization of
- Attestation Modes
- Origo hits the above goals.
- TLSN remains operable (with the occasional network timeout), but without full support for manifests.
- TEE’s
- Verification
- Support for “API” verification
- Circuits: Take ciphertext hash as
z0
input.
- Circuits: Take ciphertext hash as
- Support for on chain verification, but via a signature is acceptable
- Target Chains: testnet on op, base?
- Support for “API” verification
- Manifests & Predicates
-
Devex: Developers have the ability to lock headers, url, status and json keys/values. We won’t support more full features Response Data Predicates or Data Scopes. This screenshot shows what the Response Manifest section looks like.
-
Proof: Acceptable to not fully enforce all conditions at initial launch, as long as we can fast follow. We’ve done a lot of pre-work on this already.
-
- Docs
- SDK can be integrated by a solo developer without knowledge of cryptography.
- Ability to read documentation and within 1 day create a web proof embedded inside of an application.
- Required Download
- <1gb feels like an acceptable ship goal, ideally <500mb.
- Combination of r1cs files, wasm files
- Hosted circuit artifacts (where?) / bake into binary?