EVM Bridge
Cross-chain reputation verification and task management on Base Sepolia.
Contracts
| Contract | Purpose | Solidity |
|---|---|---|
| AgentLayerRaceTask | Task escrow + judge + pay (ETH) | ^0.8.24 |
| ReputationVerifier | Ed25519 cross-chain reputation proofs | ^0.6.8 |
| Ed25519 | Pure Solidity signature verification | library |
| Sha512 | SHA-512 hash library | library |
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
| Feature | Solana | EVM |
|---|---|---|
| Payment | SOL / Token-2022 | ETH only |
| Judge Pool | On-chain random selection | Poster-designated |
| Reputation | PDA accounts | mapping(address => Reputation) |
| Cross-chain | N/A | Ed25519 proof verification |
Test Coverage
17 tests covering all contract functions, replay protection, and edge cases.