How solar-network/ledger-app-solar works
Key Relationships
• Data flow from APDU → Command Handlers → Transaction Processing
• Bidirectional flow between UI and Command Handlers
• Crypto operations integration points
• Context management across components
Important Elements
• Error handling paths
• Response flow back to device interface
• Clear separation of concerns between layers
Technical Details to Highlight
• APDU protocol implementation
• Transaction type support
• Cryptographic operation flows
• UI state management
Security boundary view
Special Considerations:
Test coverage boundaries
• Component types
• Data flow directions
• Security boundaries
• Hardware interaction points
• Error handling paths
• Communication layer
• Command processing
• Transaction handling
• Cryptographic operations
• User interface
This will provide a comprehensive view of the application's architecture while maintaining clarity about its security-critical nature as a hardware wallet application.