TriPylon Architecture: The Firmware
Andrei Nedobylskii
At the heart of every TriPylon hardware wallet lies TriPylon Nucleo, a specialized, single-tasking operating system designed for maximum security and efficiency.
Written in C++, the system is engineered to be modular and cross-platform. By utilizing local static libraries and fixed versions, the code is optimized for formal verification, ensuring that every component can be rigorously checked for correctness and reliability.
What’s Inside?
The OS functions as an execution environment for its own programming language, based on a highly optimized subset of JavaScript. Its architecture is divided into several independent, specialized cores:
* Protocol Kernel: Manages all interactions with external devices.
* Cryptographic Kernel: A secure, time-deterministic environment for performing sensitive crypto operations.
* Main Virtual Machine (VM): The execution environment for applications within the OS.
* EVM, BTC, and Tron Kernels: Dedicated modules providing specialized logic for specific blockchain protocols.
* Storage Subsystems: Separate modules for managing system settings and encrypted data storage.
The Evolution of TriPylon Nucleo
The development of our operating system is an ongoing journey. The flexible architecture of Nucleo allows us to expand its capabilities by integrating new cores in the near future:
* Graphics Kernel & Interface VM: For upcoming devices featuring graphical displays.
* Power Management System: Battery operation and charging also optimize energy efficiency.
* Network Kernel & HID Subsystem: To enhance compatibility and connectivity options.
* Peripheral Controllers: Support for external memory, cameras, and audio modules.
Connectivity and Integration
Currently, the OS maintains communication via Serial and USB HID interfaces, utilizing a JSON RPC-based protocol for simplicity and scalability. We also offer full support for WebHID, enabling seamless interaction directly from a web browser.
Looking ahead, we are working to implement Bluetooth and WiFi support to provide even more flexibility in how you interact with your wallet.