Skip to content

Cross-chain settlement: replace MockAxelarGateway with real Axelar GMP #1

Description

@KryptosAI

Context

CrossChainSettlement.sol is exercised only against src/mocks/MockAxelarGateway.sol. Per ROADMAP.md this is demand-gated: do not build until a real cross-chain agent use case appears.

Proposed solution (from ROADMAP research)

  • Axelar GMP (Apache-2.0): callContract(destChain, destAddress, payload); destination adapter verifies the source-chain EIP-712 domain separator and releases escrowed USDC (~150 lines Solidity per chain)
  • Alternatives evaluated: LayerZero V2 (MIT, OApp pattern), Hyperlane (Apache-2.0, permissionless ISMs — Solana support still maturing), Wormhole (Apache-2.0, VAA overhead)

Acceptance criteria

  • Testnet round-trip: open channel on Base Sepolia, settle on a second testnet via Axelar
  • Mock remains for local anvil tests
  • Relayer infra self-hostable

Effort: 2–3 weeks. Blocked on: demonstrated demand.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions