Context
AgenticPay supports both Stellar and EVM chains but lacks a production-ready cross-chain bridge. An HTLC-based atomic swap would enable trustless cross-chain payments.
Current Limitation
Users cannot move assets between Stellar and EVM chains within the platform.
Expected Outcome
- HTLC contract on both chains for atomic swaps
- Relayer service for monitoring and coordinating swaps
- Configurable timelock periods and hash algorithms
- Support for XLM, USDC, and custom tokens
Acceptance Criteria
Technical Scope
contracts/evm/contracts/BridgeHTLC.sol - EVM HTLC contract
contracts/bridges/ - Bridge contract implementations
backend/src/services/bridge.ts - Bridge coordination service
frontend/app/dashboard/bridge/ - Bridge UI components
Context
AgenticPay supports both Stellar and EVM chains but lacks a production-ready cross-chain bridge. An HTLC-based atomic swap would enable trustless cross-chain payments.
Current Limitation
Users cannot move assets between Stellar and EVM chains within the platform.
Expected Outcome
Acceptance Criteria
Technical Scope
contracts/evm/contracts/BridgeHTLC.sol- EVM HTLC contractcontracts/bridges/- Bridge contract implementationsbackend/src/services/bridge.ts- Bridge coordination servicefrontend/app/dashboard/bridge/- Bridge UI components