The distributed messaging system that securely connects TON and TAC EVM through sequencer consensus
The TON Adapter is the cross-chain messaging backbone of TAC, enabling secure communication between TON and TAC EVM Layer. Unlike traditional bridges that simply move assets, the TON Adapter is designed specifically for application-level interactions, allowing TON users to execute complex operations on EVM smart contracts seamlessly.
Current Network Status: The sequencer network is currently distributed but
not decentralized. Full decentralization is on the roadmap as the network
matures.
The TON Adapter solves a fundamental challenge in cross-chain interaction: how to securely execute smart contract calls across different blockchain architectures while maintaining user experience that feels native to both sides.
TON Adapter routing messages between TON and TAC EVM
Each sequencer in the network operates independently while following the same validation protocols:
Event Monitoring: Sequencers continuously monitor both TON and TAC EVM for relevant events. When a user initiates a cross-chain transaction, multiple sequencers detect the event simultaneously.
Local Validation: Before participating in consensus, each sequencer validates the transaction locally. This includes verifying asset transfers match message parameters and ensuring the requesting user has sufficient balances.
Database Storage: Validated events are stored in each sequencer’s local database, creating a distributed record of all cross-chain activity.
Merkle Tree Formation: At regular intervals determined by network parameters, sequencers compile their validated transactions into Merkle trees, creating cryptographic proofs of transaction inclusion.
The network organizes sequencers into groups to enhance security through redundancy and consensus requirements.
Group Formation
Sequencer groups are formed through governance processes rather than
permissionless joining. Each group represents a trusted entity that can run
multiple sequencer nodes for redundancy.Groups might represent established protocols, infrastructure providers, or other stakeholders with strong
incentives to maintain network security and reliability.
Internal Consensus
Within each group, sequencers must reach 3/5 agreement before submitting their
Merkle tree to the network. This internal consensus requirement prevents
individual sequencer failures or attacks from affecting the group’s
participation.Groups submit their root hashes to the SequencerGroup smart contract, where the system verifies the submitting wallet’s authorization and
tracks the signature count.
Economic Requirements
Each group must maintain collateral above a minimum threshold set by DAO
governance. While collateral size doesn’t influence voting power, it affects
profitability and provides economic security.Higher collateral demonstrates commitment to network security and increases potential rewards, creating
natural incentives for groups to stake substantial amounts.
Cross-chain messages only execute after achieving consensus across multiple sequencer groups:
Cross-Group Validation: Different groups must submit identical Merkle trees for the same set of transactions. This requirement prevents any single group from manipulating the message flow.
Consensus Threshold: The network requires agreement from enough groups to ensure security. The exact threshold is configurable through governance to balance security with efficiency.
Execution Triggers: Once sufficient groups agree on a Merkle tree, the transactions within that tree become eligible for execution on the target chain.
When assets move from TON to TAC EVM, the TON Adapter employs a lock-and-mint mechanism:
Asset Locking: TON native tokens are locked in the TON Adapter contracts on the TON side. This prevents double-spending while maintaining the original asset’s existence.
Metadata Capture: The system captures essential token information including name, symbol, decimals, and the original TON contract address.
EVM Token Deployment: If this is the first time a particular TON token crosses to TAC EVM, the system automatically deploys a corresponding ERC-20 contract.
Token Minting: The equivalent amount of tokens is minted on the TAC EVM side, maintaining supply consistency across both chains.
Asset Verification: Sequencers must verify that actual token transfers match the amounts specified in cross-chain messages. This prevents attempts to claim false transfer amounts.
Cryptographic Proofs: All transactions include Merkle proofs that allow independent verification of inclusion in the agreed-upon transaction set.
Consensus Requirements: Multiple independent groups must agree on transaction validity before execution proceeds.
When cross-chain transactions fail, the TON Adapter automatically protects
user assets through rollback mechanisms.
Automatic Rollbacks: If a transaction fails on the target chain, assets are automatically returned to the sender rather than being lost.
Failed Transaction Collection: Failed transactions are collected into special Merkle trees and processed through the same consensus mechanism to ensure proper resolution.
Timeout Protection: Transactions that don’t complete within specified time windows are automatically rolled back to prevent funds from being permanently locked.
The TON Adapter is designed to balance security with reasonable performance for application-level interactions.
Cross-chain transactions typically complete within minutes rather than
hours. The exact timing depends on epoch duration settings and the number of
sequencer groups participating in consensus.This latency is acceptable for most application use cases.