Technical
Technical Documentation
Technical documentation for the Cross-chain loans
Protocol Overview
Liquidium is a cross-chain lending and borrowing protocol built on the Internet Computer (IC). It enables users to supply and borrow native blockchain assets (BTC, ETH, USDT) without holding wrapped tokens from the user's perspective.
Key Technical Features
- Non-custodial Design: Assets managed by decentralized canister vaults
- Share-Based Accounting: Efficient interest accrual without per-user computation
- Dynamic Interest Rates: Aave-style kink model based on pool utilization
- Two-Phase Execution: Atomic state updates with reliable async operations
- Subaccount Architecture: Privacy-preserving deposit and withdrawal flows
System Architecture
The protocol consists of three primary canisters working together:
| Canister | Responsibility |
|---|---|
| Lending Canister | Protocol orchestrator - manages accounts, positions, health factors, and coordinates pools |
| BTC Pool | Bitcoin liquidity - handles ckBTC deposits, withdrawals, and boosted batching |
| ERC Pool | Ethereum asset liquidity - manages ckETH/ckUSDT with gas fee fronting |
For the complete implementation details and code references, see the
Architecture Documentation
on GitHub.