V. Technical Architecture
Last updated
Last updated
Although the initial phase of the MAIN’s journey is to showcase the real utility to the consumers via mobile app, the ultimate goal is to create a whole decentralized and interoperable infrastructure and to be able to build new user-behavioral data use cases and utility.
This section delves into the tech components that form the backbone of MAIN's ecosystem.
MAIN employs a hybrid blockchain architecture, striking an optimal balance between security, scalability, and privacy. This approach combines a public blockchain (MAINCHAIN) with a Permissive Data Sharing Blockchain, enhanced by cutting-edge Layer 2 scaling solutions.
Foundation: Built on Ethereum 2.0 technology, ensuring robustness and reliability.
Consensus: Utilizes Proof of Trust (PoT), promoting energy efficiency and high security.
Block Time: 10 seconds
Validator Nodes: Initially capped at 100, increasing based on network requirements.
Slashing: Penalizations for malicious behavior to ensure network security. Validators risk losing stakes for double-signing or significant downtime.
Rewards Distribution: Proportional to the stake held and performance in securing the network
Protocol: Based on Ethereum 2.0 technology optimized for MAIN’s unique needs.
Interoperability: Uses standards like ERC-20 and ERC-721 for tokens and assets, ensuring compatibility with popular wallets and DeFi platforms.
Key Functions: Manages global consensus, token transactions, and the decentralized identifier (DID) registry.
Validator selection based on network stake, aligning security with economic incentives.
Staking rewards encourage active participation and network decentralization.
Significantly reduced energy consumption compared to Proof of Work (PoW) systems.
Customization: Purpose-built to optimize performance and enhance privacy.
Consensus: Implements Delegated Proof of Trust (DPoT) for rapid transaction processing.
Stakeholders elect delegates, balancing efficiency with decentralization.
Enables higher transaction throughput compared to traditional consensus mechanisms.
Optimistic Rollups: Boost transaction capacity while maintaining security through off-chain processing and on-chain proof submission.
State Channels: Enable instant off-chain transactions, periodically settled on-chain for enhanced security and efficiency.
Ethereum 2.0, also known as Eth2 or Serenity, represents a major upgrade to the Ethereum network, transitioning to a Proof of Stake consensus mechanism to improve scalability, security, and sustainability[Source].
Optimistic Rollups can potentially increase Ethereum's transaction throughput by a factor of 10 to 100 by moving computation and state storage off-chain while keeping some data per transaction on-chain [Source].
MAIN revolutionizes data management, ensuring user empowerment, data accuracy, and fair valuation:
User-Friendly Interface: Simplifies data input, boosting engagement and data quality.
AI-Assisted Categorization: Employs machine learning for efficient data tagging and organization.
Privacy-Preserving Techniques: Implements homomorphic encryption and differential privacy.
Dynamic Valuation: Utilizes ML models and reputation systems for fair and accurate data pricing.
MAIN integrates advanced storage and encryption protocols to safeguard user data:
IPFS Integration: Leverages decentralized storage for enhanced data integrity and accessibility.
End-to-End Encryption: Ensures data privacy from user endpoint to storage.
Threshold Cryptography: Distributes key management to mitigate single points of failure.
Attribute-Based Access Control: Governs data access based on user-defined permissions.
MAIN's smart contracts automate and secure critical processes:
Core Contracts: Manage identities, facilitate marketplace transactions, and govern token interactions.
Governance Contracts: Enable community participation in decision-making and protocol adjustments.
Token Contracts: Define MAIN Coin functionality and manage ecosystem credits.
MAIN offers comprehensive APIs and SDKs for seamless integration:
RESTful APIs: Cover identity management, marketplace functionalities, and wallet operations.
Mobile and Web SDKs: Facilitate development across iOS, Android, and web platforms.
Third-Party Integrations: Support OAuth 2.0, OpenID Connect, and webhooks for enhanced interoperability.
MAIN prioritizes accessibility and user-friendliness:
Native Mobile Apps: iOS and Android applications with biometric authentication.
Progressive Web App: Ensures cross-device compatibility and responsiveness.
Accessibility Features: Includes screen reader support and customizable UI options.
MAIN is designed for high scalability and seamless integration with existing and emerging standards:
Horizontal Scaling: Implements permissive data sharing chain (private) sharding and load balancing for optimized performance.
Cross-Chain Interoperability: Supports atomic swaps and cross-chain identity verification protocols.
Standards Compliance: Adheres to W3C standards and aligns with emerging interoperability protocols.
MAIN's self-sovereign identity (SSI) framework empowers users with full control over their digital identities, leveraging:
Decentralized Identifiers (DIDs): W3C-compliant, user-generated, and fully controlled identifiers.
Verifiable Credentials (VCs): Support for JSON-LD and JWT formats, compliant with W3C standards.
Key Management: Utilizes HD wallets, multi-factor authentication, and social recovery mechanisms.
Zero-Knowledge Proofs (ZKPs): Allow selective disclosure of information without compromising privacy.
This architecture empowers users with unprecedented control over their digital identities and data, while providing businesses with access to high-quality, consented information. By prioritizing security, scalability, and user experience, MAIN paves the way for a more equitable and efficient data economy.