- Multi-Resolver Competition: 4 different resolver strategies
(High-frequency, Arbitrage, MEV, Conservative) compete for orders
with staggered bidding and risk-based allocation
- 1inch Escrow Factory Integration: Deterministic escrow creation
using official 1inch factory contracts for unified orderHash
coordination
- Atomic Security: Hash Time Lock Contracts (HTLCs) ensure atomic
swaps with secret-based resolution and automatic timelock refunds
- Gasless Experience: Users sign EIP-712 intents off-chain;
resolvers pay all gas fees and earn profit from spreads
- Production Architecture: Proper environment separation
(.env.relayer, .env.resolvers), comprehensive error handling, and
real-time monitoring
The bridge supports partial fills, Dutch auction pricing
mechanisms, and provides complete cross-chain liquidity with
automatic failsafe mechanisms
Core Technologies:
- Ethereum: Solidity smart contracts on Sepolia testnet with
EIP-712 signature verification
- Algorand: PyTeal smart contracts for HTLC implementation on
Algorand testnet
- Node.js: Multi-resolver relayer system with competitive bidding
logic
- ethers.js: Ethereum blockchain interaction and transaction
management
- algosdk: Algorand blockchain integration and account management
Architecture Highlights:
Smart Contracts:
- LimitOrderBridge: EIP-712 based intent system for gasless order
submission
- 1inch Escrow Factory: Official 1inch factory for deterministic
escrow creation (0x0d8137727DB1aC0f7B10f7687D734CD027921bf6)
- Algorand HTLC: PyTeal contracts for atomic swap resolution on
Algorand side
Multi-Resolver System:
// 4 competitive resolver strategies from .env.resolvers
- High-Frequency-Resolver: Fast execution, 1% premium bidding
- Arbitrage-Resolver: Profit-focused, 5% discount strategy
- MEV-Resolver: Maximum value extraction, 5% premium
- Backup-Resolver: Conservative, 10% discount fallback