📄️ Hyperliquid
Hyperliquid is one blockchain
📄️ Architecture Overview
Silhouette is directly integrated with both HyperCore and the HyperEVM.
📄️ Smart Contracts
A smart contract on the HyperEVM serves as the ground truth for the current state of the Silhouette protocol. The contract stores the encrypted state for the Silhouette protocol. This includes user balances and the state of all orders in the order book. The contract also serves as the entry point for all actions on Silhouette: actions such as depositing, placing orders, and withdrawing are performed on the EVM by supplying the required encrypted data. Silhouette's secure enclave monitors the EVM for these transactions to maintain and update its internal decrypted state.
📄️ Trusted Execution Environments
Silhouette's core matching engine runs in an AWS Nitro Enclave on the Marlin network.
📄️ Silhouette Webapp
The Silhouette webapp is the frontend for interacting with the other Silhouette system components. It plays a key role in ensuring that individual order flows and balances are only visible to the trader.