How dusterbloom/cycl3s_beta works
Main System Components
a) Client-Side (Frontend):
• Sub-components:
• User Interface (Components)
• Authentication Context
• Encryption Services
• Wallet Integration
b) External Services:
• On the right side:
• Bluesky API
• Web3.Storage
• Keplr Wallet
c) Backend Services:
• At the bottom:
• Node.js Server
• Smart Contract (Key Registry)
Component Relationships
• UI Components → Authentication Context
• UI Components → Encryption Services
• Authentication Context → Wallet Integration
• Wallet Integration → Smart Contract
• Frontend → Bluesky API
• Frontend → Backend Server
• Frontend → Web3.Storage
• E2E encryption path between users
• Encryption services to key registry
Detailed Component Breakdown
a) Encryption System:
Web Crypto API → ECDH Key Exchange → AES-256-GCM
• ↓ ↓ ↓
Key Generation → Public Key Registry → Encrypted Messages
b) Authentication Flow:
Keplr Wallet → Smart Contract → JWT → Protected Routes