Architecture Overview
Wattlet’s system architecture is built on a multi-layered modular framework that combines blockchain infrastructure, data oracles, liquidity mechanisms, and application services. This design ensures transparency, scalability, and real-time synchronization between on-chain and off-chain components of the energy economy.
1. Core Layers of the Architecture Wattlet’s architecture is composed of five primary layers:
Application Layer: The user-facing interface (Wattlet App and Web Portal) that enables wallet operations, trading, staking, and governance participation.
Blockchain Layer: The on-chain foundation that stores token contracts, transaction logic, and governance mechanisms.
Oracle Layer: Connects Wattlet to verified external data sources, ensuring that KWT token prices accurately reflect real-world retail electricity values.
Liquidity Layer: Powered by the AMM protocol, this layer facilitates decentralized trading and market formation for KWT/USDT pairs.
Integration Layer: Provides APIs and SDKs for third-party applications to connect payment systems, enterprise dashboards, and analytics tools.
2. Design Principles Wattlet’s architecture follows three core design principles:
Transparency: All pricing, liquidity, and transaction records are verifiable on-chain or via oracle data.
Security: The non-custodial wallet model and audited smart contracts ensure user asset protection and system integrity.
Scalability: Modular components allow for new regions, tokens, or integrations to be added without disrupting existing infrastructure.
3. Interaction Between Layers Each layer communicates through standardized APIs and on-chain calls:
Oracle updates feed verified electricity data into the blockchain layer.
Smart contracts handle pricing, swaps, and governance logic.
The application layer visualizes this data for end-users and executes signed transactions.
External systems interact through the integration layer, maintaining interoperability across energy platforms.
4. Data Synchronization and Flow Data flows continuously between oracles, liquidity pools, and front-end interfaces. The Oracle Layer provides updated price feeds → the AMM Layer recalculates KWT/USDT ratios → the Application Layer displays synchronized pricing and allows transactions to execute instantly. This real-time feedback loop enables Wattlet to reflect energy market changes within seconds on the blockchain.
5. Technology Stack
Smart Contracts: Solidity-based, deployed on EVM-compatible networks.
Oracle Framework: Aggregated data via decentralized oracle nodes with redundancy validation.
Frontend: Built with React, TypeScript, and Web3.js libraries.
Storage: Uses IPFS for off-chain metadata and decentralized storage references.
APIs & SDKs: REST and WebSocket APIs for data access and integration with external systems.
Wattlet’s modular architecture ensures that every component — from user wallet to oracle feed — operates autonomously yet cohesively, forming a resilient foundation for a transparent digital energy marketplace.
Last updated