IPN
The Intent Processing Network (IPN) is a core module designed to facilitate seamless cross-chain interactions by handling user-generated intents from a source chain, translating them into executable transactions for the destination chain, and ensuring secure execution with proof generation. This module is the core component of the Bolarity network, ensuring the decentralization and reliability of the whole system.
Key Features:
Intent Capture
Collects user-submitted intent transactions from the source chain.
Intent Translation
Processes and translates the intent into a transaction format compatible with the destination chain.
Proof Generation
Generates cryptographic proofs to validate the integrity of the translated transactions.
Transaction Dispatch
Sends the processed transaction along with the proof to the destination chain for execution.
Workflow:
A user submits an intent transaction on the source chain.
The module retrieves and interprets the intent.
The intent is translated into the required format for the destination chain.
Proof is generated to ensure security and validity.
The translated transaction, along with the proof, is dispatched to the destination chain for final execution.
Architecture
On-Chain Logic
Registration
Oversees the registration process for Bolarity Relayers.
Relayer List
Monitors and maintains the states of relayers, categorized as:
Registered: Relayers that have successfully completed the registration process.
Staked: Relayers with collateral staked to qualify for operational participation.
Elected: Relayers designated to perform duties within a specific period.
Blacklisted: Relayers identified for non-compliance or underperformance and excluded from operations.
Relayer Controller
Allocates duty schedules to relayers, specifying their active periods.
Transaction Pool
Logs the execution history of transactions processed by the Intent Processing Network (IPN). A separate Transaction Pool is created for each destination chain to ensure efficient and scalable cross-chain operations.
Off-Chain Logic
Role Assignment Logic
Confirms whether a relayer is active and eligible to perform their assigned duties.
Relayer Operations
Retrieves and processes cross-chain intent transactions.
Translates intent data into executable transactions on the destination chain.
Generates and submits cryptographic proofs for validation.
Record Management Logic
Maintains and validates the processing history for integration with on-chain modules.
Operator Responsibilities
Task Audit
Audits execution records stored in the transaction pool for accuracy.
Validates consistency with actual on-chain operations and ensures the correctness of generated state proofs.
Consensus Voting
Participates in voting to validate execution records and their associated state proofs.
State Reconciliation
Identifies and flags invalid transactions.
Re-generates state proofs for flagged execution records.
Routes invalid transactions back to relayers for correction and re-execution.
State Finalization
Confirms and submits verified states to the Final State Pool for permanent recording.
NCN On-Chain Logic
Final State Pool
Stores the finalized states of the IPN, verified by operators and anchored to the settlement layer.
Use Cases:
Cross-Chain Smart Contract Calls Seamlessly interact with smart contracts on different chains without requiring native support.
Cross-Chain Asset Transfers Enable secure and efficient movement of assets between heterogeneous blockchains.
Cross-Chain and Cross-VM Asset Management Manage assets across multiple chains and virtual machine environments in a unified manner.
Cross-Chain and Cross-VM Application Interactions Interact with decentralized applications across different chains and VM ecosystems without leaving the original chain.
Bridging Applications Between EVM and Non-EVM Chains Facilitate interoperability between Ethereum-based (EVM) and other blockchain ecosystems, such as WASM.
This module serves as the backbone for enabling secure, efficient, and transparent cross-chain operations in decentralized environments.
Last updated