Repository navigation
Prove any mainnet transaction from the online verifier - #19
Merged
Merged
Conversation
The verifier only checked a stored sample or a bundle you already had. Now a pasted hash (or a stellar.expert link) is looked up on Horizon for its ledger, an exnode builds the bundle, and the page verifies it against the tier-1 validators. Horizon and the node are both untrusted: only the signatures decide. Successful Soroban calls inside RPC retention are proven with their return value and events; older ones fall back to a transaction claim. A ledger newer than the archive gets a wait screen that retries every 30 seconds. Every failure says what happened and what to do. Results are shareable as #tx=<hash>, and the proof can be downloaded for externalize verify. The node URL is a <meta name="exnode"> tag; ?node=URL overrides it.
https://externalize-node.vercel.app is exnode running as a Vercel function (Externalize-Labs/externalize-node#11, #12). Like any node it is untrusted: the page verifies what it returns. ?node=URL still points elsewhere.
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.
The online verifier could only check a stored sample or a bundle you already had. With this change, anyone can paste a mainnet transaction hash, or a stellar.expert link to one, and get a proof checked in their browser.
How it works:
#tx=<hash>, and the proof can be downloaded forexternalize verify.<meta name="exnode">tag, and?node=URLpoints the page at your own exnode.Checked
A Playwright run in Chrome against a local exnode on mainnet passed 15 of 15 checks:
Node
The page asks https://externalize-node.vercel.app, which is exnode running as a Vercel function (Externalize-Labs/externalize-node#11 and #12). The same 15 checks pass against it.