Files
tlsn-js/demo/interactive-demo

Test Rust Prover

  1. Start the verifier:
cd verifier-rs; cargo run --release
  1. Run the prover:
cd prover-rs; cargo run --release

Test Browser Prover

  1. Start the verifier:
cd verifier-rs; cargo run --release
  1. Since a web browser doesn't have the ability to make TCP connection, we need to use a websocket proxy server to access <swapi.dev>.
cargo install wstcp

wstcp --bind-addr 127.0.0.1:55688 swapi.dev:443
  1. Run the prover
    1. Build tlsn-js
      cd ..
      npm i
      npm run build
      npm link
      
    2. Build demo prover-ts
      cd prover-ts
      npm i
      npm link
      npm run dev
      
    3. Open http://localhost:3456/ and click Start Prover