mirror of
https://github.com/tlsnotary/tlsn-js.git
synced 2026-04-02 03:00:18 -04:00
verifier-server
An implementation of the interactive verifier server in Rust.
Running the server
- Configure this server setting via the global variables defined in main.rs — please ensure that the hardcoded
SERVER_DOMAINandVERIFICATION_SESSION_IDhave the same values on the prover side. - Start the server by running the following in a terminal at the root of this crate.
cargo run --release
WebSocket APIs
/verify
To perform verification via websocket, i.e. ws://localhost:9816/verify
Design Choices
WebSocket
Refer to https://github.com/tlsnotary/tlsn/tree/main/notary-server#websocket