Repository navigation
Add a zkFetch example - #2
Merged
Merged
Conversation
packages/zkfetch proves the <title> of example.org with zkFetch in Builder mode, using the org key, and verifies the proof with verifyRequestProof from @reclaimprotocol/client. Run it with npm run zkfetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reclaim PR Agent review · run 130447887312
Reviewed all 3 diff chunks. No blocking defects found.
Full findings and Ponytail reviewPonytail suggestions:
net: -2 lines possible. |
@reclaimprotocol/client 0.1.47 trusts Builder's JWKS by default, so the example no longer passes attestorJwksUrl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reclaim PR Agent review · run 130455001639
Full findings and Ponytail review
Ponytail suggestions:
net: -3 lines possible. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reclaim PR Agent review · run 130468946038
Full findings and Ponytail review
Ponytail suggestions:
net: -2 lines possible. |
Collaborator
Author
|
/reclaim-review |
Reclaim PR Agent review · run 130470700383
Full findings and Ponytail review
Ponytail suggestions:
net: -2 lines possible. |
kryptocodes
approved these changes
Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A new
packages/zkfetchworkspace: a script that proves the<title>of https://example.org with zkFetch in Builder mode (new ReclaimClient({ orgToken })), then verifies the proof withverifyRequestProoffrom@reclaimprotocol/client, which trusts Builder's JWKS by default. It's for proving a response your own server fetches, with no user or provider involved.npm run zkfetchfrom the root. It needspackages/zkfetch/.envwithRECLAIM_ORG_SECRET, and each run uses one unit ofZKFETCHquota.typecheckcovers the new package; README and AGENTS.md describe it.Testing
npm run typecheck.npm run zkfetchagainst production: proved in 7.7s and verified the title.Before merging
Requires
@reclaimprotocol/client0.1.47 (reclaimprotocol/developer-tools#24), which trusts Builder's JWKS by default, so the script passes noattestorJwksUrl. After 0.1.47 is on npm, runnpm installand commit the lockfile, which still records 0.1.46. Verified locally against a packed 0.1.47: proved and verified.Builder-mode zkFetch runs in a TEE by default once reclaimprotocol/zk-fetch#41 is released (about 2.5s per proof).
🤖 Generated with Claude Code