← Back to home

Undertaker

A price-aware router/AMM deployed on Hedera EVM leveraging Chainlink + CCIP transfers

Problem Statement

Undertaker : Hedera CCIP Price-Aware Router Hedera Flashbridge — low-fee, price-aware AMM + CCIP-powered hops.Features:- Reads live prices on-chain via Chainlink Data Feeds on Hedera to make routing and slippage decisions. This makes swaps price-aware and resistant to naive sandwich attacks when used correctly.Executes swaps on Hedera EVM (single-hop AMM interaction or direct token transfer flows). This keeps UX on-chain and low-fee, showing Hedera’s EVM compatibility.Uses Chainlink CCIP for cross-chain messaging and asset transfers (multi-hop routing over other chains). Router emits/send CCIP messages for outgoing transfers and implements the CCIP callback interface to finalize incoming transfers. CCIP is live on HederaBuilt/tested with Foundry (Solidity tests + forge scripts) and verified on HashScan.

Solution

Built on the Second Track: Hedera EVM: Smart Contracts & Cross‑Chain Integrations for building a cross-chain price aware router, Started with exploring Hedera docs,Got hands-on with "Deploy smart contracts on Hedera with Foundry" tutorialOutlined and sketched the architectural contract of how cross-chain swapping would flow from Hedera to EVM via CCIP and Chainlink. Dived into the docs.Used Chainlink Realtime Price FeedsTech Used:Foundry/forgeVite/reactjsRemixPiecing 'em togetherafter learning key diff b/w Hedera & Ethereum, started with contract coding and how Tokens could be swapped across diff rooms(chains) via Chainlink enabled-price-apprised apis, alongwith CCIP empoweredMockAMM: minimal constant-product pool (no fees) for swap testing.Router: reads Chainlink (aggregator) and AMM pool price, compares deviation, reverts if > threshold.Decimal normalization: all price comparisons use 18-decimal normalized values.

Hackathon

ETHGlobal New Delhi

2025

Contributors