Skip to content

Conversation

0xtsukino
Copy link
Contributor

Add a demo for integrating with an interactive verifier - this is only meant for running a local demo for now. Interactive verifier API will change soon.

Compile interactive prover plugin

  1. Checkout the interactive-verifier branch on tlsn-plugin-boilerplate
  2. Build the script: npm run build
  3. server the script: serve dist/
  4. Copy serve url

Run tlsn-plugin-demo

  1. Checkout the interactive-verifier branch on tlsn-plugin-demo
  2. Change line 82 of web/components/Steps/index.tsx to match serve url from last step
  3. Run the tlsn-plugin-demo by running VERIFIER_SECRET_KEY=demo npm run dev

Run Verifier Server

  1. Checkout the interactive-verifier branch on tlsn
  2. Build the JS verifier plugin: cd crates/notary/plugin/js; ./prepare.sh; xtp plugin build
  3. Run the verifier server: VERIFIER_SECRET_KEY=demo cd crates/notary/server; cargo run --release

Build extension locally

  1. Checkout the interactive-verifier branch on tlsn-extension
  2. Build the extension: npm run dev

run the demo

  1. Go to http://localhost:3030
  2. Click Run Plugin

@0xtsukino 0xtsukino changed the title Interactive verifier demo DO NOT MERGE Interactive verifier demo Jul 22, 2025
@0xtsukino
Copy link
Contributor Author

Let's chat to see if we should actually deploy this, or wait for a better version of the interactive verifier server

@heeckhau heeckhau changed the title DO NOT MERGE Interactive verifier demo Interactive verifier demo Aug 15, 2025
@heeckhau heeckhau requested a review from Codetrauma August 15, 2025 15:24
+ use LRU for tracking sessions
@heeckhau heeckhau force-pushed the interactive-verifier branch from ce3f500 to 03b5592 Compare August 20, 2025 11:52
@heeckhau heeckhau force-pushed the interactive-verifier branch from 2647893 to b42abec Compare August 22, 2025 14:53
@heeckhau heeckhau self-requested a review August 22, 2025 15:24
@heeckhau heeckhau merged commit 3f89b56 into main Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants