diff --git a/demo/web-to-web-p2p/src/app.tsx b/demo/web-to-web-p2p/src/app.tsx index bab5424..6dad811 100644 --- a/demo/web-to-web-p2p/src/app.tsx +++ b/demo/web-to-web-p2p/src/app.tsx @@ -186,47 +186,55 @@ function App(): ReactElement { addVerifierLog('Verified data:'); addVerifierLog(`transcript.sent: ${t.sent()}`); addVerifierLog(`transcript.recv: ${t.recv()}`); + setStarted(false); }, [ready]); return ( -
-
-
Prover
-
- {proverMessages.map((m, index) => ( - {m} - ))} -
+
+
+

Web-to-Web P2P Demo

+

This demo showcases peer-to-peer communication between a web prover and a web verifier using TLSNotary. The prover fetches data from swapi.dev and proves it to the verifier.

-
-
Verifier
-
- {verifierMessages.map((m, index) => ( - {m} - ))} + +
+
+
Prover
+
+ {proverMessages.map((m, index) => ( + {m} + ))} +
-
-
- -
-
+
+
+ +
+
+
); }