Conditional invoices (Reineira resolver standard) + blog imagery#10
Merged
Conversation
wave-3-shipped: public-link and settlement-card screenshots. fhe-vs-zk: new ZK vs FHE concept diagram (svg). why-no-token-ever: new four-token-jobs diagram (svg). Reuses the existing .ll-blog-figure pattern. No CSS or schema change.
EncryptedEscrow gets a storage-safe UUPS append (_escrowResolver) plus createConditionalEscrow and a permissionless releaseIfConditionMet. New InvoiceApprovalResolver implements Reineira's IConditionResolver: the escrow releases to the vendor when the payer approves, or after an auto-release deadline. Vendor-protective: refund-on-expiry is disabled for resolver-gated escrows, so there is no refund race. Frontend: useEncryptedEscrow create/approve/release actions, a public conditional-invoice page, and an Arbitrum-gated create form. Deployed and proven on Arbitrum Sepolia (create, approve, release with real cofhe encryption). 35 contract tests; storage layout re-blessed append-only.
Adds a FEATURES=cinvoice flow to the live Rabby harness: Dave creates an encrypted conditional invoice to Bob, approves early release, then releases. Drove green end-to-end on Arbitrum Sepolia with real wallet popups (create, approve, release) and screenshots at every state.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Three commits ahead of main:
Proof (Arbitrum Sepolia)
Tests