Files
tlsn-js/interactive-demo
2024-10-31 01:19:32 -07:00
..
2024-10-29 17:23:03 +01:00
2024-10-31 01:19:32 -07:00

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:8080/ and click Start Prover