mirror of
https://github.com/tlsnotary/tlsn-js.git
synced 2026-01-09 20:47:55 -05:00
Test Rust Prover
- Start the verifier:
cd verifier-rs; cargo run --release
- Run the prover:
cd prover-rs; cargo run --release
Test Browser Prover
- Start the verifier:
cd verifier-rs; cargo run --release
- 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
- Run the prover
- Build tlsn-js
cd .. npm i npm run build npm link - Build demo prover-ts
cd prover-ts npm i npm link npm run dev - Open http://localhost:3456/ and click Start Prover
- Build tlsn-js