How proven-network/proven-node works
Main Components
A. Hardware Security Layer
• TEE/Enclave Environment (AWS Nitro)
• Hardware Security Module
• Remote Attestation System
B. Core Infrastructure
• Host System
• Enclave System
• Network Layer (VSOCK components)
• Security Components (Attestation, KMS)
C. Distributed Systems
• NATS Messaging System
• Storage Systems (S3, PostgreSQL, Key-Value)
• Inter-node Communication
D. Application Layer
• V8 Runtime Environment
• Application Management
• Session Management
• SQL/Storage Abstractions
Component Relationships
[Hardware Security Layer]
• ↑↓
[Core Infrastructure]
• ↑↓
[Distributed Systems]
• ↑↓
[Application Layer]
Key Elements to Highlight
a. Security Boundaries:
• Encrypted communication channels
• Attestation verification points
b. Data Flow:
• How requests flow from external clients through security layers
• How inter-node communication works
• Demonstrate storage encryption flows
c. Component Integration:
• How the V8 runtime integrates with storage
• How NATS enables communication
• Integration with Radix DLT components
Specific Implementation Details
[vsock-rpc] ←→ [core] ←→ [runtime]
• ↑ ↑ ↑
[host] ←→ [enclave] ←→ [applications]
External Integration Points
Connections to:
• AWS Services (KMS, S3)
• Radix Network
• DNS Services
• Let's Encrypt
Deployment View
A section showing:
• Geographic distribution
• Node replication
• High availability setup
• Zero-trust architecture
• End-to-end encryption
• Hardware-based security
• Scalability aspects
• Application isolation
→ Synchronous calls
⇢ Asynchronous messages
⇄ Bi-directional communication
• Security boundaries
• Component types
• Protocol indicators
Keep the abstraction level high enough to be understandable but include critical security and architectural details that make this system unique.
Remember to highlight the three-tier security model:
Application Layer (Isolated runtimes)
This will create a comprehensive system design that accurately represents the complex security and architectural aspects of the Proven Node system.