ultron-swap

AI-powered cross-chain swap protocol with smart TWAP execution and oracle pricing.

ETHGlobal New DelhiShipped September 26, 2025#ai#defi#infra
Repo
ultron-swap banner

About

💡 Ultron Swap — Description

Ultron Swap is an AI-powered, intent-based cross-chain swap protocol inspired by 1inch Fusion+, built to make swaps across heterogeneous chains (starting with ETH ↔ TON) secure, fair, and automated.

It combines Dutch auction price discovery, AI-driven TWAP slicing, oracle-verified fairness (Pyth), and HTLC atomic settlement to deliver trust-minimized cross-chain execution — no centralized bridges, no manual steps.

🚩 Problem

Cross-chain swaps are either:

Manual: users handle multiple steps across bridges

Risky: funds rely on custodial middlemen

Inefficient: large trades cause high slippage or MEV front-runs

🚀 Ultron Swap’s Solution

Ultron Swap extends Fusion+ logic into a cross-chain environment and introduces AI and oracles to make swaps smarter, cheaper, and safer.

It follows an intent-based flow, meaning the user signs what they want — not how — and the network executes optimally.

⚙️ How It Works (Step-by-Step)

🧩 1. Maker Intent

The user (Maker) signs an off-chain order:

“Swap 1 ETH on Ethereum for TON worth ~$1800, min receive 1790 TON, within 15 minutes.”

This “intent” is broadcast to resolvers — professional liquidity providers — for competition.

⚔️ 2. Resolver Auction (Fusion+ style)

A Dutch auction starts:

Price starts slightly higher than fair market.

Decreases over time until a resolver accepts.

The winning resolver commits to filling the order.

🧠 3. AI-Driven Cross-Chain TWAP

Ultron’s AI engine analyzes:

Trade size

Liquidity depth on both chains

Pyth price volatility

Network congestion

Finality speeds

It then splits the order into optimal slices (e.g., 5 × 0.2 ETH) and defines timing intervals to reduce slippage, MEV, and lockup risk. Each slice goes through its own mini-auction, possibly with different resolvers for best blended pricing.

🔮 4. Oracle Verification (Pyth Pull Model)

Before each slice executes:

The system fetches ETH/USD & TON/USD price updates from Pyth Hermes

Pushes them on-chain via updatePriceFeeds()

Derives ETH/TON = (ETH/USD ÷ TON/USD)

The resolver’s quoted rate is checked against the Pyth-derived fair value — if it deviates beyond a set threshold (e.g. ±2%), the slice is rejected.

🔐 5. HTLC Atomic Settlement

Once accepted:

Resolver locks Maker’s ETH in an Ethereum escrow

Resolver locks equivalent TON in a TON escrow

Both escrows share a secret hash (like a password lock)

When both escrows are confirmed:

A relayer/watchtower releases the secret

Maker uses it to withdraw TON

Resolver uses it to withdraw ETH

✅ Atomic: both complete or neither does

If resolver fails → Maker’s ETH unlocks after timeout, and resolver’s safety deposit is slashed.

🔁 6. Repeat for Each Slice

AI’s schedule triggers the next slice automatically until the full swap is complete or expiry reached.

🧠 AI Adds Value

Decides slice count, size, interval

Selects best resolvers per slice

Reacts to volatility or congestion in real time

Optimizes execution cost vs. risk

🌟 Key Features

🔄 Cross-chain TWAP execution powered by AI

⚖️ Dutch auction competition for fair pricing

🔮 Pyth oracle integration (pull model, real-time updates)

🔐 HTLC atomic settlement (no bridge risk)

🛡️ Safety deposits + timeouts ensure reliability

🌐 Chain-agnostic design (ETH↔TON demo, scalable to others)

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Sui Fusion+

Sui <-> 1inch Fusion+ Integration for cross-chain swaps 🦄₊˚⊹ ᰔ

StellarSwap

Cross chain swapping between EVM and Stellar Soroban powered by 1inch Fusion+

Swapsage AI Oracle

SwapSage-AI is an AI-powered cross-chain DeFi assistant that simplifies token swaps across networks