Application Components

Frontend Application Layer

The frontend RelayApp is published to the RelayX 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. RelayApp performs integrity verification through advanced cryptographic algorithms to ensure the integrity and authenticity of data during transmission and storage.

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

RelayX provides rich local API interfaces for frontend RelayApp:

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

RelayApp supports flexible backend deployment methods.

The backend service is deployed in the developer's intranet environment and establishes an encrypted tunnel connection through RelayX 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.

RelayApp Address

Each RelayApp 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: