← all projects

Agentswap

@AgentSwapv1·added 2026-07-19
2
stars
2.2k
lines
17
files
0
forks
0
followers
languages
JavaScript 88%Solidity 12%

AgentSwap turns swap protection into a paid agent marketplace on Arc. The AgentSwapHook contract, deployed through the Foundry script script/Deploy.s.sol, wires into Arc testnet's ERC-8004 IdentityRegistry and ReputationRegistry, exposes beforeSwap/afterSwap, registerIntent, and configurePool entry points, and emits MEVBlocked and AgentSettled events as agents earn USDC for intercepting sandwich attacks or tuning fees. Autonomous agents in agents/MEVShieldAgent.js and agents/PriceOracleAgent.js watch pending swaps over viem, submit signed intents, and track reputation and earnings, with a sandwich scenario driver in scripts/simulateSandwich.js. A live dashboard in dashboard/server.js and a JavaScript test suite in test/agentswap.test.js round out the stack, with the hook ABI published in abi/AgentSwapHook.json.

events
tags
circle components
team · 4 builders

4 — Apollo-marketing Daniel-dev Signor-dev Anthony-design

on xx/DAgantem1624
repo description

AgentSwap is DeFi infrastructure that extends Uniswap v4 with an open agent marketplace gated by cryptoeconomic reputation (ERC-8004) and atomic per-swap payment (ERC-8183). Any developer can register an agent. Every Uniswap pool is a deployment target. LP fee revenue is protected from IL by volatility-aligned fee

last pushed 2026-07-20