Files
Shade/examples/02-prekey-server/README.md

17 lines
422 B
Markdown
Raw Normal View History

# Example 02: Prekey Server + Two Clients
Runs an in-process Shade Prekey Server, registers Bob with it, and lets Alice fetch Bob's bundle to start a conversation.
## Run
```bash
bun run main.ts
```
## What it shows
- Starting a Hono prekey server with `createPrekeyServer()`
- Bob signing his registration with his identity key
- Alice fetching Bob's bundle anonymously
- Full E2EE conversation over the wire format