# Technical Aspects

## Architecture

The protocol’s architecture consists of multiple canister smart contracts on ICP, each responsible for specific functions:

* Universal Account Canister: Manages user identities and account mappings.
* Interoperability Canister: Handles cross-chain transaction logic and communication with proxy contracts.
* AI Canister: Runs AI models for transaction optimization and security.
* Liquidity Canister: Manages liquidity pools and integrates with DEXs for cross-chain swaps.

These canisters interact through ICP’s asynchronous messaging system, ensuring efficient and secure data flow.

## Implementation

* Canister Development: Canisters are developed in Rust, leveraging ICP’s developer framework.
* Threshold ECDSA: Used for secure transaction signing without exposing private keys. The canister’s ECDSA key is threshold-shared among ICP’s subnet nodes.
* Proxy Contracts: Deployed on external chains (e.g., Ethereum, Solana) to execute transactions based on signed messages from the canister.
* AI Integration: AI models are hosted on dedicated canisters, with training data sourced from historical transaction logs and network metrics.
