aboutsummaryrefslogtreecommitdiffstats
path: root/relay/main.go
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-03-09 17:26:53 -0700
committerbndw <ben@bdw.to>2026-03-09 17:26:53 -0700
commit4ee6da5fd54a2e40b537ed4126e907342c06d54d (patch)
treed59ebf4bd52b165731faa96fd885c86791f9f679 /relay/main.go
parentede67d9722509f1553fcb0f84edd55aa42f1c503 (diff)
feat: phase 3 CLI + phase 4 JS client library
CLI (cmd/axon): - Add explicit Unsubscribe on req exit (after EOSE and on Ctrl-C) - Add reconnect with exponential backoff (1s→30s) for req --stream JS library (js/axon.js): - Canonical tag encoding and payload construction matching Go byte-for-byte - Ed25519 sign/verify, keypair generation, challenge signing - AxonClient: WebSocket connect with auth handshake, publish, subscribe, unsubscribe, reconnect-ready callback API - encryptDM/decryptDM: X25519 ECDH (Ed25519 key conversion) + ChaCha20-Poly1305 - runVectors: validates all 6 Phase 1 test vectors against Go ground truth
Diffstat (limited to 'relay/main.go')
0 files changed, 0 insertions, 0 deletions