GNUS.AI
  • 🧠About GNUS.AI
    • GNUS.AI
    • Introduction
    • Features and Benefits
      • Scale and cost-efficiency
      • GNUS.ai Network vs. Centralized xAI 100k Cluster
        • 1. Executive Summary
        • 2. Introduction
        • 3. Understanding the GNUS.ai Decentralized Network
        • 4. The Centralized xAI 100k Cluster Explained
        • 5. Comparing CAPEX and OPEX
        • 6. Payout Structure and Profitability
        • 7. The Deflationary Token Mechanism
        • 8. Projected Token Price Appreciation
        • 9. Summary Comparison Tables
        • 10. Conclusion and Next Steps
        • Final Thoughts
      • Tokenomics
    • Public Roadmap
    • Whitepaper
    • Meet the Team
    • Why GNUS.AI
      • Works Everywhere
      • Customizable
      • Fast
      • Secure
        • Secure 2FA with TOTP and zk-SNARKs
    • How Does It Work?
      • Idle Central Processing (GPU)
      • Distributed Computation
      • Dynamically Adjusted Resource Allocation
  • 🖥️Technical Information
    • Super Genius Blockchain Technical Details
      • SuperGenius DB Layout
      • AI Data Blocks
      • Slicing Data for Macro MicroJobs
      • Verification and Hash Results from Processing
      • Diagram of the internal blockchain, blocks and processing functionality
      • IPFS Pub Sub
      • SG Consensus Algorithm Implementation
      • Account creation with ECSDA and El Gamal
      • Key Derivation Function
      • El Gamal encryption
      • Prover specification
      • C++ Coding Standards
      • SuperGenius processing component information
        • Processing worker app workflow
        • Job Processing Flow
      • Super Genius DAG Blockchain
      • Minimal MMR Proof System with UTXOs
      • Cross-chain Bridging through SuperGenius
        • Overview of Technical Details for Cross-Chain Bridging Flow
        • Message Creation and Leader Election
        • Leader Ownership and Verification Channel Creation
        • Node Verification and Voting
        • Signature Collection and Aggregation
        • Destination Chain Submission and Validation
    • Hybrid Smart Contract
      • GNUS.ai Ecosystem: A Unified Network of Intelligence
      • Structure
        • Structure Details
      • Encoded IDs
    • Our Smart Contract Testing Philosophy
    • AI Systems
      • Overview
      • Query Workflow
      • Data Storage
      • Pub/Sub Communication
      • Retraining Mechanism
    • Zero Knowledge Proofs
      • Proof schemes and Elliptical Curves
  • Resources
    • Contact Us
    • Contracts
    • FAQS
    • Multisig Wallets
    • Glossary
    • Official Links
Powered by GitBook
On this page
  • Submission to Destination Chain
  • Validation on Destination Chain
  • Submission and Validation Flow Diagram
  1. Technical Information
  2. Super Genius Blockchain Technical Details
  3. Cross-chain Bridging through SuperGenius

Destination Chain Submission and Validation

Submission to Destination Chain

  • Sending the Proof: The aggregated signature and verification results are packaged and sent to the destination chain for processing.

  • Transaction Creation: A transaction is created on the destination chain that includes the message, the aggregated signature, and any supporting data.

void submitToDestinationChain(Message message, std::string aggregatedSignature) {
    log("Submitting verification result to destination chain");
    Transaction tx = createTransaction(message, aggregatedSignature);
    destinationChain.submitTransaction(tx);
}

Validation on Destination Chain

  • Smart Contract Validation: A smart contract on the destination chain verifies the aggregated signature to ensure that the message was validated by the required number of nodes.

  • State Update: If the verification is successful, the state on the destination chain is updated accordingly (e.g., minting tokens, updating balances).

function validateAndProcess(bytes memory message, bytes memory aggregatedSignature) public {
    require(verifyAggregatedSignature(message, aggregatedSignature), "Invalid signature");
    // Proceed with state update
}

Submission and Validation Flow Diagram

PreviousSignature Collection and AggregationNextHybrid Smart Contract

Last updated 7 months ago

🖥️