You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InterLink is a zero-knowledge interoperability protocol enabling mathematically guaranteed cross-chain state transitions. By utilizing zk-SNARKs (Halo2 with Groth16 on BN254) and a high-throughput Solana Coordination Hub, InterLink enables instant, permissionless cross-chain message passing and asset transfers with O(1) on-chain verification.
The protocol follows a Hub-and-Spoke architecture where Solana acts as the central settlement and verification layer, while EVM chains (Ethereum, Optimism, Arbitrum, Base, Polygon), Cosmos IBC chains, and future networks serve as spoke gateways.
IMPORTANT – PROVER CONSISTENCY REQUIREMENT
The relayer's Halo2 prover MUST use the exact same interlink_v1_domain salt when generating proofs. This is strictly required to match the updated Solidity input binding logic in InterlinkGateway.sol:L175-180. Ensure the entire pipeline (prover -> relayer -> on-chain verification) uses consistent domain separation to prevent proof mismatches.
Halo2 Groth16 proof generation on BN254. Domain-separated with interlink_v1_domain salt. Semaphore-bounded concurrent proving with spawn_blocking. Result-based error propagation (no panics in async runtime).
submitter
submitter.rs
Builds and submits raw Solana transactions with ZK proofs. Compact-u16 encoding, PDA derivation (state_registry, stake_account, vk), cached keypair loading.
batch
batch.rs
BatchCollector aggregates transfers into single settlement transactions every 5 seconds. Configurable batch size with flush-on-full.
nonce
nonce.rs
DurableNoncePool for parallel Solana settlement (10-100 concurrent nonces). Lock-free acquire/release with exhaustion alerting.
Economics & Fees
Module
File
Description
fee
fee.rs
Dynamic fee tier engine. Zero ($0-1k), Standard 0.05% ($1k-100k), Institutional 0.01% ($100k-10M), OTC 0% ($10M+). Beats Wormhole VAA fees and Across 0.25-1%.
gas
gas.rs
Cross-chain gas cost estimation with amortized proof generation overhead. CostComparison benchmarks against Wormhole/Stargate/Across fee models.
10% bridge fee distribution to validators, weighted by stake × uptime. Minimum 90% uptime requirement. 5% bonus for perfect uptime. Epoch-based heartbeat tracking.
vesting
vesting.rs
Token vesting schedules: team (4yr vest, 1yr cliff), advisors (2yr vest, 6mo cliff), treasury (3yr linear, no cliff). Per-beneficiary tracking with revocation support for departed team members.
Bug bounty lifecycle: Critical $100k-$500k, High $10k-$100k, Medium $1k-$10k, Low $100-$1k. SLA response times: Critical 4h, High 24h, Medium 72h, Low 168h. Full submission→triage→confirm→pay pipeline.
Security & Resilience
Module
File
Description
multisig
multisig.rs
Threshold multi-signature (3-of-5 Ed25519). Validator bundle creation, signature aggregation, and verification. Upgradeable to 13-of-19 (Wormhole parity) via governance vote.
circuitbreaker
circuitbreaker.rs
Auto-pause on anomaly: ≥5 consecutive proof failures, ≥3 settlement failures, $1M TVL drain in 5min. Guardian emergency pause. Auto-recovery after 5min cooldown (non-guardian pauses only).
retry
retry.rs
Exponential backoff with jitter, per-chain retry policies (Ethereum: 2s base/8 retries, Solana: 200ms/4 retries, L2: 500ms/5 retries). Circuit-breaker-aware. Dead-letter queue (1k capacity) for manual replay of failed ops.
ratelimit
ratelimit.rs
Token-bucket rate limiting: Free 100 req/min, Pro 1000 req/min, Enterprise custom/unlimited. 2x burst allowance. Standard X-RateLimit-* response headers.
Routing & Simulation
Module
File
Description
intent
intent.rs
Intent-based routing: user specifies desired output ("1 ETH → ≥2900 USDC on Solana"), solver finds optimal path. Route types: DirectBridge, BridgeAndSwap, MultiHop, SameChainSwap. 2% max slippage, 3-hop max, 5-min expiry.
swap_routing
swap_routing.rs
Multi-DEX aggregation: Uniswap V3, 1inch, 0x, SushiSwap, Curve (EVM) and Jupiter, Raydium, Orca (Solana). Best-rate selection with fallback routing, slippage tracking, and per-source reliability analytics.
simulator
simulator.rs
Transfer dry-run with 10 pre-flight checks: circuit breaker, source/dest chain support, cross-chain validation, amount, fee calculation, liquidity, rate limit, estimated time, route type. No on-chain submission.
Cross-chain NFT bridging with lock-mint-burn model. Full metadata preservation (name, traits, IPFS/Arweave URIs, on-chain SVG). EIP-2981 royalty forwarding. Wrapped contract registry. 24h lock timeout with auto-expiry.
atomic
atomic.rs
Two-phase commit for cross-chain settlement. Escrow state machine: Prepared → ProofReady → Committed → Finalized, with timeout-based rollback. Grace period before forced rollback. Guarantees: no fund loss, no double-spend.
Enterprise Features
Module
File
Description
enterprise
enterprise.rs
Institutional bridge controls: address whitelisting, per-tx/daily/monthly spend limits ($500k/$1M/$10M defaults), N-of-M multi-approver workflows for large transfers ($100k+), configurable settlement hold period, auto-resetting spend counters.
Observability & Compliance
Module
File
Description
metrics
metrics.rs
Prometheus-compatible metrics: proof gen time (p50/p95/p99), settlement time, verification time (>500ms alert), per-chain finality lag, RPC latency, TVL tracking, daily/cumulative volume, validator uptime %, daily transfers, unique users, top corridors. JSON + Prometheus text export.
Append-only compliance log with SHA-256 hash-chain integrity. Indexed by sender, receiver, corridor, time range. CSV + JSON export for regulatory reporting. Tamper detection via verify_integrity().
webhook
webhook.rs
Real-time push notifications: transfer start, pending, completed, failed. 3-attempt exponential backoff. Auto-disable after 10 consecutive failures.
http_api
http_api.rs
REST API: GET /health, GET /metrics, GET /quote, POST /simulate. Prometheus endpoint for Grafana integration.
Testing Framework
InterLink employs a multi-layered testing strategy with 451 tests across all layers, all verified passing.
submit_proof: Verifies ZK proof, mints/releases on destination
process_cross_chain_swap: AMM integration with stake verification
Live on Solana devnet with 4 passing integration tests
Cosmos Gateway (contracts/cosmos/)
CosmWasm-based gateway for IBC-connected chains:
Initial implementation for Tendermint consensus verification
IBC channel management for cross-chain message relay
Token Economics
$INTERLINK Token
Parameter
Value
Total Supply
1,000,000,000 (1B)
Community / Mining
400,000,000 (40%)
Team (4yr vest, 1yr cliff)
300,000,000 (30%)
Treasury (DAO-governed)
300,000,000 (30%)
Fee Tiers
Tier
Transfer Size
Fee
vs Wormhole
vs Across
Zero
$0 - $1,000
0%
Wormhole: $1-20 VAA
Across: 0.25-1%
Standard
$1k - $100k
0.05%
Wormhole: 0.1-0.2%
Across: 0.25-1%
Institutional
$100k - $10M
0.01%
Wormhole: negotiated
Across: negotiated
OTC
$10M+
0% (negotiated)
—
—
Staking Tiers
Tier
Min Stake
Fee Discount
Extra Benefits
Bronze
1,000
10%
Basic participation
Silver
10,000
25%
Governance voting
Gold
100,000
50%
Validator eligibility
Platinum
1,000,000
100%
Enhanced APY + zero fees
Liquidity Mining Program
Budget: 10,000,000 $INTERLINK over 26 weekly epochs (6 months)
Early-bird boost: 2x rewards in epochs 1-4 to bootstrap liquidity
Loyalty boost: 1.5x for LPs with ≥4 consecutive epochs
Vesting: 25% immediate release, 75% linear over 90 days
Anti-gaming: 24-hour minimum deposit before earning rewards
Security Model
ZK Proof Verification
Every cross-chain message is verified by a Halo2 Groth16 proof on BN254. The on-chain verifier performs a single pairing check — O(1) regardless of message complexity. Domain separation via keccak256("interlink_v1_domain") prevents cross-protocol proof reuse.
Multi-Layer Protection
Layer
Mechanism
Auto-Trigger
Circuit Breaker
Auto-pause bridge operations
≥5 proof failures, ≥3 settlement failures, $1M outflow in 5min
Guardian Pause
Emergency manual pause
Authorized guardian key hash
Threshold Multi-Sig
3-of-5 Ed25519 validator co-signing
All settlement transactions
Rate Limiting
Token-bucket per API key
Free: 100/min, Pro: 1000/min
Retry Engine
Exponential backoff with dead-letter queue
Per-chain optimized policies
Audit Trail
SHA-256 hash-chain append-only log
Every transfer recorded
Validator Economics
10% fee share distributed to validators per epoch
Weighted by: stake amount × uptime percentage
Minimum uptime: 90% required for reward eligibility
Perfect uptime bonus: +5% additional rewards
Slashing: 5% for downtime, 50% for byzantine behavior
Technical Specifications
Parameter
Value
Proving System
Halo2 (IPA commitment, BN254 scalar field)
Elliptic Curve
BN254 (alt_bn128)
Hash Function
Poseidon quintic S-box (x^5), injective over BN254
InterLink is a decentralized, high-performance interoperability protocol designed to bridge fragmented blockchain ecosystems through trustless, zero-knowledge cryptographic proofs.