diamonds-4Application Components

Frontend Application Layer

The frontend MarsApp is published to the MarsX Network distributed network for storage, supporting all mainstream frontend technology stacks (React, Vue, Angular, etc.), and is fully compatible with existing frontend development tools and build processes. MarsApp performs integrity verification through advanced cryptographic algorithms to ensure the integrity and authenticity of data during transmission and storage.

Users search and download MarsApp through the MarsX platform in the network. After downloading locally, MarsApp is loaded and started in the MarsX platform, providing a user experience consistent with traditional Web applications. The system adopts a decentralized retrieval mechanism, allowing users to retrieve and download MarsApp from any node in the network, and the system will automatically select the optimal node for data transmission.

MarsX provides rich local API interfaces for frontend MarsApp:

API Category
Function Description
Main Capabilities

Wallet

Digital asset management and transactions

Cryptocurrency payment integration, multi-chain wallet support

Network

P2P message passing

P2P network communication

Client

Local resource access

Local data storage, identity signature verification, device hardware interface access

Backend Service Layer

MarsApp supports flexible backend deployment methods.

The backend service is deployed in the developer's intranet environment and establishes an encrypted tunnel connection through MarsX Network. The backend service is completely hidden without public network exposure, significantly reducing server costs and security risks. Self Service converts the traditional client-server model into a distributed P2P communication model, securely processing requests and responses through a multi-level node forwarding mechanism.

Direct Connection Mode

The backend service is deployed on a public server, and the frontend accesses it through standard HTTP/HTTPS protocols, compatible with existing backend architectures for quick migration.

MarsApp Address

Each MarsApp has a globally unique identity address, similar to the identifier of traditional applications.

Address Creation: Generated based on the secp256k1 cryptographic algorithm key pair, using a Bitcoin-compatible address format. Once created, the address is permanently fixed.

Signature Mechanism: All application publishing and updates are signed with the private key corresponding to this address to ensure the authenticity and integrity of the application, preventing malicious tampering and forgery.

Address Example:

Last updated