Logo
Infrastructure

Meridian Link - Cross Chain Token Bridge

Cross chain Solana - EVM (Ethereum L1, Avalanche, Polygon, Arbitrum) token bridging platform powered by Zero Knowledge Proofs for trustless verification.

Client: RippnerLabsJanuary 17, 20265 min read

Key Outcomes

5 (Solana + 4 EVM)

Chains Supported

ZK Proofs

Verification

Light Protocol

Storage

Bidirectional

Architecture

Project Overview

Meridian Link is a bidirectional token bridge that enables secure, trustless token transfers between Solana and EVM-compatible blockchains including Ethereum L1, Avalanche, Polygon, and Arbitrum. The bridge eliminates the need for trusted intermediaries by using Groth16 zero-knowledge proofs to cryptographically verify the validity of cross-chain transfers.

This project represents the cutting edge of cross-chain infrastructure, combining the speed of Solana with the liquidity of EVM chains.

The Challenge

Building a trustless cross-chain bridge presents significant technical challenges:

  • No Central Authority: Transfers must be verified without relying on trusted parties
  • Multi-Chain Complexity: Support different consensus mechanisms and programming models
  • Efficient State Storage: Track transfers without excessive on-chain costs
  • User Experience: Abstract complexity behind simple deposit/withdraw flows

System Architecture

Meridian Link consists of five primary subsystems working together seamlessly:

SolanaAnchorEthereumSolidityHardhatGroth16Light ProtocolNext.jsTypeScript
SubsystemTechnologyPurpose
Web FrontendNext.js, ReactUser interface for initiating transfers
Solana BridgeAnchor, RustHandles deposits and withdrawals on Solana
EVM BridgeSolidity, HardhatHandles deposits and withdrawals on EVM chains
Relayer ServiceTypeScript, ExpressOff-chain coordinator that generates and submits proofs
Light ProtocolCompressed AccountsProvides state compression for efficient on-chain storage

Solana Bridge Implementation

The Solana bridge is implemented as an Anchor program named CrossChainTokenBridge. It manages:

Core Program Data Structures:

  • BridgeState PDA: Global bridge state tracking deposit counts
  • TokenBridge PDAs: Per-route token bridge configurations indexed by linkHash
  • WithdrawalProof PDAs: Storage for ZK proof components before withdrawal execution
  • Compressed Accounts: Deposit and withdrawal records stored via Light Protocol

Key Instructions:

  • initBridge - Initialize the global bridge state
  • createTokenBridge - Set up a new token bridging route
  • deposit - Lock tokens and emit deposit event for relayer
  • storeWithdrawalProof - Store ZK proof for pending withdrawal
  • completeWithdrawal - Execute withdrawal after proof verification

Light Protocol integration reduces storage costs by up to 99%, making Meridian Link economically viable for high-volume bridging.

EVM Bridge Implementation

The EVM side uses Solidity smart contracts deployed via Hardhat:

BridgeContract.sol

  • Token locking and unlocking
  • Deposit event emission
  • ZK proof verification for withdrawals

Groth16Verifier.sol

  • On-chain verification of zero-knowledge proofs
  • Generated from trusted setup ceremony

Relayer Service

The TypeScript relayer service acts as the off-chain coordinator:

  1. Event Listening: Monitors deposit events on both chains
  2. Proof Generation: Generates Groth16 proofs for valid deposits
  3. Proof Submission: Submits proofs to destination chain
  4. Status Tracking: Maintains transfer status for frontend queries

Zero-Knowledge Proof System

The bridge uses Groth16 proofs to verify:

  • Deposit Existence: Proof that a deposit was made on the source chain
  • Amount Correctness: The withdrawal amount matches the deposit
  • Single Withdrawal: Prevent double-spending via nullifier tracking

Proof Workflow:

  1. User deposits tokens on source chain
  2. Relayer observes deposit event
  3. Relayer generates ZK proof of deposit validity
  4. Proof submitted to destination chain
  5. On-chain verifier validates proof
  6. Tokens released to user

Cross-Chain Transfer Flow

Solana → EVM Transfer

User → Solana Bridge (deposit) → Relayer (proof gen) → EVM Bridge (verify + withdraw)

EVM → Solana Transfer

User → EVM Bridge (deposit) → Relayer (proof gen) → Solana Bridge (verify + withdraw)

Frontend Application

The Next.js frontend provides a seamless user experience:

  • Chain Selection: Intuitive source/destination chain picker
  • Token Selection: Browse available bridging routes
  • Amount Input: Real-time fee estimation
  • Transaction Tracking: Monitor transfer status across chains
  • Wallet Integration: Support for both Solana (Phantom, Solflare) and EVM (MetaMask, WalletConnect) wallets

Supported Networks

NetworkTypeStatus
Solana MainnetSource/DestinationProduction
Ethereum MainnetSource/DestinationProduction
Avalanche C-ChainSource/DestinationProduction
PolygonSource/DestinationProduction
Arbitrum OneSource/DestinationProduction

Results & Impact

Meridian Link demonstrates the future of trustless cross-chain infrastructure:

  • Zero Trust Required: ZK proofs eliminate reliance on multisigs or oracles
  • Cost Efficient: Light Protocol reduces Solana storage costs significantly
  • Fast Finality: Optimistic transfer completion with proof generation
  • Multi-Chain Ready: Architecture supports adding new chains easily

The whitepaper detailing our cryptographic approach is available for technical review, showcasing our commitment to transparency and security in cross-chain infrastructure.

See More Projects Like This

Got a project in mind?

Let us help build the technologies around your needs.

Contact us
7BlockLabs

Full-stack blockchain product studio: DeFi, dApps, audits, integrations.

7Block Labs is a trading name of JAYANTH TECHNOLOGIES LIMITED.

Registered in England and Wales (Company No. 16589283).

Registered Office address: Office 13536, 182-184 High Street North, East Ham, London, E6 2JA.

© 2025 7BlockLabs. All rights reserved.