[codex] Add WASM Chrome extension PoC#54
Draft
michalpalkowski wants to merge 1 commit intoleanEthereum:mainfrom
Draft
[codex] Add WASM Chrome extension PoC#54michalpalkowski wants to merge 1 commit intoleanEthereum:mainfrom
michalpalkowski wants to merge 1 commit intoleanEthereum:mainfrom
Conversation
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.
Summary
parallel-rayonand add scalar fallbacks for the signing/tree hot pathswasm-bindgenwrapper crate with demo and2^18 / w=2production-benchmark feature modesHow to run
./examples/chrome-extension-poc/build.sh # or, for larger benchmark-oriented params: ./examples/chrome-extension-poc/build.sh productionThen open
chrome://extensions, enable Developer mode, loadexamples/chrome-extension-poc, and useGenerate Demo Key,Sign,Verify, andRun Perf Sample.Validation
cargo check -q --no-default-featurescargo check -q -p leansig-wasm --target wasm32-unknown-unknown --features production-lifetime-18-w2/bin/bash examples/chrome-extension-poc/build.sh productionNotes
The extension verifier is a WASM/JS-side detached verifier: it verifies from public key bytes, epoch, message bytes, and signature bytes without secret-key access. This PR does not add an on-chain verifier.