# Architecture

<figure><img src="/files/Q0R6DB3FfVPn1p9j50Js" alt=""><figcaption></figcaption></figure>

1. **Lamina Unified Frontend (Top Layer)**:
   * **Unified Dashboard**: A central panel displaying all assets, balances, transaction history, and options for blockchain interactions.
   * **dApp Browser**: An integrated browser for accessing and interacting with various decentralized applications across different blockchains. Users connect to the respective dApps through Lamina and wrap their intents into full smart contracts wallet user operations
2. **Lamina Universal Wallet Account (Middle Layer)**:
   * **Account Management Module**:
     * Handles the creation and management of smart contract wallets for different blockchains.
     * Supports UTXO-based blockchains (like Bitcoin), account/balance model blockchains (like Ethereum) and hybrid blockchains (like Solana, TON).
   * **Security Module**:
     * Implements security features such as multi-signature, two-factor authentication, and social recovery.
   * **Transaction Processing Module**:
     * Manages the creation, signing, and broadcasting of transactions.
     * Ensures transactions are correctly formatted for the specific blockchain.
3. **Blockchain Connectors (Integration Layer)**:
   * **UTXO Model Connector**:
     * Connects to UTXO-based blockchains (e.g., Bitcoin, Dogecoin) for managing UTXOs and transactions.
   * **Account/Balance Model Connector**:
     * Connects to account/balance model blockchains (e.g., Ethereum plus other EVM chains) for managing balances, token transfers, and smart contract interactions.
   * **Hybrid Model Connector**:
     * Supports blockchains with custom models (e.g., Solana, TON) and facilitates unique transaction formats and state management.
4. **Cross-Chain Interoperability Layer (Crosschain API)**:
   * Manages cross-chain swaps, lending, borrowing, staking, restaking and asset transfers.
   * Facilitates cross-chain asset management through the Lamina solver network.
   * Deterministic payout resolution through Hyperlane, borrowing both their AVS infrastructure and easy to deploy nodes.
5. **Backend Services (Bottom Layer)**:
   * **Node Management**:
     * Maintains connections to blockchain nodes for real-time data access and transaction broadcasting.
   * **Data Storage**:
     * Securely stores user data, wallet configurations, and transaction history.
6. **Security Infrastructure**:
   * **Encryption**:
     * Provides secure storage for sensitive data using advanced encryption techniques.
   * **Hardware Wallet Integration**:
     * Supports integration with hardware wallets (e.g., Ledger, Trezor) for enhanced security.
   * **Realtime Monitoring**
     * Lamina integrates the latest in real-time monitoring from Hypernative, enabling 24/7 risk anal to protect liquidity providers and users from malicious transactions and attacks.
7. **APIs and SDK**:
   * Provides APIs and SDKs for developers to integrate Lamina's features into other applications to enable interoperability and access users and liquidity across all blockchains.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lamina.finance/technology/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
