Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.48 KB

File metadata and controls

55 lines (40 loc) · 1.48 KB

TLSNotary DevConnect Demo

This project contains the code for a TLSNotary at DevConnect25.

The demo consists of 2 Raspberry Pis: one runs a Swiss bank and one runs a TLSNotary Prover. Visitors can verify the bank balance by participating in TLSNotary's MPC-TLS protocol via a webapp.

Demo Architecture

Three parties in the MPC-TLS protocol:

Demo overview

Note: Roles are swapped from typical usage - visitors act as verifiers (not provers) to avoid entering real secrets in a public setting.

Hosted Deployments

Local Development

# Terminal 1 - Swiss Bank
cd swissbank
cargo run --release
# Access at: http://localhost:3000/dashboard

# Terminal 2 - Prover Server
cd prover-demo/server
cargo run --release
# Running on: ws://localhost:9816

# Terminal 3 - Verifier Webapp
cd prover-demo/webapp
npm ci
npm run dev
# Access at: http://localhost:8080

Docker (Recommended)

# Swiss Bank
cd swissbank
docker-compose up --build

# Prover + Verifier
cd prover-demo
docker-compose up --build
# Access at: https://devconnect-local.tlsnotary.org