diff options
| author | bndw <ben@bdw.to> | 2026-03-09 17:26:53 -0700 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-03-09 17:26:53 -0700 |
| commit | 4ee6da5fd54a2e40b537ed4126e907342c06d54d (patch) | |
| tree | d59ebf4bd52b165731faa96fd885c86791f9f679 /relay/subscription | |
| parent | ede67d9722509f1553fcb0f84edd55aa42f1c503 (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/subscription')
0 files changed, 0 insertions, 0 deletions
