EVM Bridge

Cross-chain reputation verification and task management on Base Sepolia.

Contracts

ContractPurposeSolidity
AgentLayerRaceTaskTask escrow + judge + pay (ETH)^0.8.24
ReputationVerifierEd25519 cross-chain reputation proofs^0.6.8
Ed25519Pure Solidity signature verificationlibrary
Sha512SHA-512 hash librarylibrary

Task Lifecycle (EVM)

post_task(payable) → apply_for_task(payable) → submit_result → judge_and_pay
  └→ claim_expired (refund after deadline)
  └→ cancel_task (poster, 2% fee)

Differences from Solana

FeatureSolanaEVM
PaymentSOL / Token-2022ETH only
Judge PoolOn-chain random selectionPoster-designated
ReputationPDA accountsmapping(address => Reputation)
Cross-chainN/AEd25519 proof verification

Test Coverage

17 tests covering all contract functions, replay protection, and edge cases.