Chainspot
Finance dAppPortalNewsSocials
  • Overview
    • 🙌Welcome to Chainspot
    • Ecosystem
    • What's new and valuable Chainspot brings to the DeFi market?
    • Use Cases
    • Fees
  • Architecture
    • Overview
    • Liquidity Routing
    • Yield Routing
    • Gamification Module
    • Enterprise Module
      • AML Connector
      • Accounting Module
    • Asterizm Client Server Module
    • Core Smart Contracts
    • Transaction flow
  • Guides
    • User Guide
    • Chainspot Family loyalty program
      • Referral system
      • Levels and XP
      • FAQ
    • Wallets & dApps
    • Fintech Apps
  • Integration
    • Overview
    • API
      • Web3 API
      • Fintech API
    • Widget
      • Quick start
    • Monetization
  • Security
    • Approach
    • Smart Contracts
    • Audits
  • Integration request
    • DEX & Bridge
    • Liquidity Aggregator
    • Yield Protocol
  • Legal
    • Privacy Policy
    • Terms & Conditions
  • Useful links
    • Social Networks
    • Brand Assets
    • E-mail
Powered by GitBook
On this page
  • Intro
  • Overview
  1. Architecture

Asterizm Client Server Module

Where omnichain DeFi magic actually happens

PreviousAccounting ModuleNextCore Smart Contracts

Last updated 6 months ago

Intro

This module is implemented based on the off-chain and on-chain infrastructure of the cross-chain messaging protocol Asterizm.

Asterizm was chosen as the first AMB provider for implementing the logic of omnichain DeFi positions, as it offers the most optimal speed and cost for cross-chain transactions as of Q4 2024. The protocol provides transaction costs of around $0.10, coupled with the highest message delivery speed compared to other known protocols in the industry. This combination makes Asterizm a compelling choice for projects seeking efficient cross-chain communication.

For more detailed information about the Asterizm infrastructure, you can visit their documentation at .

Overview

The Chainspot Client Server module functions as an off-chain module within the Asterizm infrastructure, facilitating the transportation of payloads between blockchains. The most important role in processing and verifying cross-chain transactions plays an on-chain Asterizm client, that calculates and checks proofs from payload and hash this smart contract receives from Chainspot Client Server and Asteriz Relayers.

This design enables efficient cross-chain communication, allowing for seamless transactions while ensuring the integrity and reliability of the data being transferred.

The transaction flow within the Chainspot protocol, utilizing the Asterizm infrastructure, follows a secure and trustless model:

  1. Payload Submission: The payload is sent to the immutable Chainspot smart contract, which inherits the abstract methods from Asterizm for sending and receiving data. The contract computes a hash of the payload directly.

  2. Client Server Retrieval: The Chainspot client server retrieves the payload, while the hash is collected by the relayer servers of the Asterizm protocol.

  3. Payload Execution in Destination Network: When the payload arrives at the destination network's immutable Chainspot smart contract, it undergoes a re-computation of the hash to ensure it matches the one received from the Asterizm relayer servers.

  4. Validation and Execution: If the hashes match, the payload is executed, such as withdrawing funds from a DeFi position or claiming rewards. If they do not match, the transaction is deemed invalid.

This approach enhances security by leveraging a trustless infrastructure, ensuring the safety of user funds even if the off-chain module of Chainspot is compromised. This method emphasizes the reliability and integrity of transactions across different blockchain networks.

Learn more about Asterizm cross-chain transaction flow and security mechanics.
Learn more about transaction flow in Chainspot protocol.
docs.asterizm.io
Asterizm architecture