← Back to home

algobridge

Gasless ETH↔ALGO swaps via intent-based cross-chain bridge using 1inch Fusion+ architecture

Problem Statement

Multi-Resolver Competition: 4 different resolver strategies (High-frequency, Arbitrage, MEV, Conservative) compete for orders with staggered bidding and risk-based allocation1inch Escrow Factory Integration: Deterministic escrow creation using official 1inch factory contracts for unified orderHash coordinationAtomic Security: Hash Time Lock Contracts (HTLCs) ensure atomic swaps with secret-based resolution and automatic timelock refundsGasless Experience: Users sign EIP-712 intents off-chain; resolvers pay all gas fees and earn profit from spreadsProduction Architecture: Proper environment separation (.env.relayer, .env.resolvers), comprehensive error handling, and real-time monitoringThe bridge supports partial fills, Dutch auction pricing mechanisms, and provides complete cross-chain liquidity with automatic failsafe mechanisms

Solution

Core Technologies:Ethereum: Solidity smart contracts on Sepolia testnet with EIP-712 signature verificationAlgorand: PyTeal smart contracts for HTLC implementation on Algorand testnetNode.js: Multi-resolver relayer system with competitive bidding logicethers.js: Ethereum blockchain interaction and transaction managementalgosdk: Algorand blockchain integration and account managementArchitecture Highlights:Smart Contracts:LimitOrderBridge: EIP-712 based intent system for gasless order submission1inch Escrow Factory: Official 1inch factory for deterministic escrow creation (0x0d8137727DB1aC0f7B10f7687D734CD027921bf6)Algorand HTLC: PyTeal contracts for atomic swap resolution on Algorand sideMulti-Resolver System: // 4 competitive resolver strategies from .env.resolversHigh-Frequency-Resolver: Fast execution, 1% premium biddingArbitrage-Resolver: Profit-focused, 5% discount strategyMEV-Resolver: Maximum value extraction, 5% premiumBackup-Resolver: Conservative, 10% discount fallback

Hackathon

ETHGlobal Unite

2025

Contributors