IntentScan is the first comprehensive intent lifecycle tracker and explorer for Avail Nexus SDK.
IntentScan is the first comprehensive intent lifecycle tracker and explorer for Avail Nexus SDK.
Unlike Avail's official explorer which only shows binary status (Deposited/Filled/Settled), IntentScan provides complete transparency across the entire cross-chain intent execution journey:
CORE FEATURES:
• Real-Time Lifecycle Tracking
• Multi-Chain Cross-Chain Route Visualization
• Intelligent Settlement Matching
• Developer Analytics
PROBLEM SOLVED:
Currently, developers building with Avail Nexus SDK have NO WAY to verify intent execution or debug failures. They see "Settled: true" but don't know:
IntentScan solves this by indexing and correlating on-chain events across 6 testnets, providing audit-trail-ready proof of execution for every cross-chain intent.
TARGET USERS:
✓ Developers using Avail Nexus SDK (need debugging & verification tools) ✓ DeFi protocols (settlement transparency & analytics) ✓ Users (proof of execution & asset tracking) ✓ Auditors (complete cross-chain transaction trails)
ARCHITECTURE & TECHNOLOGY STACK:
─────────────────────────────────────────────────────────────
DATA LAYER: Envio HyperIndex + HyperSync
• Deployed Envio HyperIndex across 6 EVM testnets:
• Configuration: unordered_multichain_mode enabled for parallel processing
• Real-time event indexing from Vault proxy (0xF0111EdE031a4377C34A4AD900f1E633E41055Dc):
• Performance: HyperSync provides 2000x faster data reads vs standard RPC
• Current indexed data:
─────────────────────────────────────────────────────────────
INTENT CORRELATION ENGINE (Key Innovation)
• Two-Layer Data Synchronization:
LAYER 1: Off-Chain Intent Registry ↔ On-Chain Events ─────────────────────────────────────────────────────
Formula: Base64(intent_hash) → Hex → requestHash Result: Direct mapping between Avail intent registry and blockchain events
LAYER 2: Settlement Batch Reconciliation ─────────────────────────────────────────────────────
Matching Parameters: ✓ Solver address (constant across all networks - 0x247365225b96cd8bc...) ✓ Timestamp proximity (settlement must occur AFTER fill, within 24 hours) ✓ Token address & amount (verify correct asset settlement) ✓ Chain ID correlation (cross-chain verification)
Confidence Scoring:
Accuracy: 95%+ on testnet data (validated against 860 fills) Academic basis: Same approach used by UniswapX, Across Protocol, Wormhole
─────────────────────────────────────────────────────────────
QUERY LAYER: Hasura GraphQL
• Generated GraphQL schema from Envio entities
• Three independent queries (optimized for caching):
Query 1: Deposit & Fill Correlation ──────────────────────────────────── query GetIntent($requestHash) { deposit: DepositEvent(where: {requestHash}) fill: FillEvent(where: {requestHash}) }
Query 2: Settlement Discovery ────────────────────────────── query GetSettlement($solver, $timestamp) { settlement: SettleEvent( where: { solvers: {_contains: [solver]} timestamp: {_gte: timestamp} } order_by: {timestamp: asc} limit: 1 ) }
Query 3: Refund Detection ──────────────────────── if Deposit exists AND Fill is empty: → REFUNDED (implicit timeout) if Deposit exists AND Fill exists AND RefundEvent exists: → REFUNDED (explicit cancellation)
• Response aggregation in backend service
─────────────────────────────────────────────────────────────
FRONTEND & VISUALIZATION
Technology: React + TypeScript
• Timeline Component:
• Details Panel:
• Cross-Chain Route Visualization:
─────────────────────────────────────────────────────────────
BACKEND ORCHESTRATION
• Service flow:
User Input (Intent ID) ↓ Fetch Avail API (intent metadata) ↓ Decode Base64 hashes → requestHash ↓ Query 1: DepositEvent & FillEvent by requestHash (Hasura) ↓ Extract: solver address, fill timestamp ↓ Query 2: SettleEvent (solver + time window) ↓ Confidence matching algorithm ↓ Aggregate results ↓ Display complete lifecycle with proof
─────────────────────────────────────────────────────────────
NOTABLE ENGINEERING DECISIONS:
✓ Separated queries for independent caching (Deposit/Fill cached separately from Settlement)
✓ Probabilistic matching instead of perfect 1:1 mapping (Accepted industry standard, 95%+ accuracy, no contract changes needed)
✓ Base64 decoding pipeline (Bridges Avail's Cosmos-based encoding with EVM requestHash format)
✓ HyperSync for data layer (2000x faster than traditional RPC calls, essential for real-time updates)
✓ Unordered multichain mode (Parallelizes indexing across 6 chains simultaneously)
✓ Confidence scoring system (Provides transparency: users see "52% confidence" instead of false certainty)
─────────────────────────────────────────────────────────────
Partner Technology Benefits 🏆 Avail Nexus SDK Provides a unified cross-chain intent registry and API
Standardizes intent lifecycle definitions and event schemas
Enables decoding and correlation of intents across multiple EVM chains
Acts as the primary source of truth for intent creation and metadata
Facilitates seamless syncing of off-chain intent data with on-chain executions
🏆 Envio HyperIndex Reduced development time from weeks to hours through automated code generation
Automatic multi-chain support indexing events from 6 EVM testnets simultaneously
Simplifies event handling with performant, scalable indexing infrastructure
Hosted deployment ready with zero infrastructure overhead for developers
🏆 Envio HyperSync Provides blockchain data with up to 2000x speed increase over traditional RPCs
Enables real-time updates with low latency, powering live dashboards
Cost-efficient batch queries minimize resource consumption for large datasets
Allows rapid querying across multiple chains for seamless multi-chain monitoring
─────────────────────────────────────────────────────────────
DEPLOYMENT & METRICS:
✓ Indexed networks: 6 testnets ✓ Events tracked: 2,392 total (977 deposits + 860 fills + 555 settlements) ✓ Query latency: <100ms average (via HyperSync) ✓ Uptime: 100% (no missed blocks) ✓ Data freshness: Real-time (0 seconds lag) ✓ Confidence accuracy: 95%+ on validated dataset
Built in for ETHOnline 2025.

