Contracts Overview
The Datai Network is a decentralized data indexing and retrieval platform that connects data consumers with data providers (indexers) and gateways. Each Node contributes to maintaining a distributed state that includes node identities, roles, projection deployment metadata, active account states, and other essential information. Nodes store parts of this state and collaborate to serve data requests efficiently.
The network incentivizes participants through a token-based reward system and ensures the integrity and reliability of data through staking and dispute mechanisms.
Architecture Overview
The Datai Network smart contracts are designed with modularity and security in mind. The key components include:
- Reward Distribution: Manages the allocation and distribution of rewards to indexers, gateways, and developers.
- Node Management: Handles the registration, activation, and withdrawal of nodes (indexers and gateways).
- Staking Mechanism: Implements staking for projections, nodes, and disputes to align incentives and penalize malicious behavior.
- Dispute Resolution: Provides a system for users to raise disputes and ensures fair handling through staking penalties and rewards.
- Epoch Management: Maintains epoch timings to synchronize reward distributions and other time-dependent processes.