From f6f4bc9d8f1b13fe46b46f4144769c3824449949 Mon Sep 17 00:00:00 2001 From: Alex E Date: Mon, 30 Mar 2026 17:30:50 +0500 Subject: [PATCH 1/3] [FEAT] stwo support --- browser/index.html | 2 + package-lock.json | 75 +++--- package.json | 2 +- proto/api.proto | 1 + src/client/create-claim.ts | 6 +- src/proto/api.ts | 8 +- src/scripts/build-browser.sh | 11 +- src/scripts/build-browser.ts | 1 + src/scripts/build-jsc.ts | 1 + src/scripts/fallbacks/stwo.ts | 227 ++++++++++++++++++ src/scripts/generate-receipt.ts | 2 +- .../utils/assert-valid-claim-request.ts | 6 +- src/utils/zk.ts | 10 + 13 files changed, 309 insertions(+), 43 deletions(-) create mode 100644 src/scripts/fallbacks/stwo.ts diff --git a/browser/index.html b/browser/index.html index 8dbc9702..f044ac53 100644 --- a/browser/index.html +++ b/browser/index.html @@ -3,6 +3,8 @@ +