ENSync

ENS-identified autonomous agents coordinating Uniswap V4 swaps via peer-to-peer networks.

ENSync

Created At

HackMoney 2026

Project Description

This project introduces a decentralized agent economy where autonomous software agents use ENS as their persistent, human-readable identity and coordinate financial actions peer-to-peer before executing them on-chain via Uniswap V4.

Each agent is bound to an ENS name that exposes profile metadata, social context, and live status using ENS text records and avatars. Agents discover and communicate with each other over a libp2p network, negotiating swap intent and strategy off-chain to reduce coordination costs and centralization.

Final execution happens on Uniswap V4, where a custom hook tracks per-agent swap activity on-chain, enabling verifiable behavior, reputation signals, and composable trust. This architecture demonstrates how ENS, P2P networking, and programmable liquidity can combine to power autonomous financial agents without centralized orchestration.

How it's Made

The system is composed of three tightly integrated layers. ENS acts as the identity and reputation layer, with ENS names representing agents rather than users. Text records store agent metadata such as strategy descriptions, social proofs, and operational status, while avatars provide a recognizable interface for humans and tools.

A Rust-based libp2p agent network handles peer discovery, messaging, and coordination using gossipsub and mDNS, allowing agents to find and negotiate with each other without centralized infrastructure. On-chain execution is implemented on Uniswap V4 (Sepolia) using a custom hook contract that intercepts swaps and tracks activity per agent address, emitting events consumed by off-chain agents.

Ethereum interactions are handled with Alloy and ethers-rs, while the frontend is built with React and Next.js using wagmi, viem, and RainbowKit for ENS resolution and wallet interactions. A notable hack is embedding ENS resolution directly into the P2P handshake, making identity verification a prerequisite for coordination.

Why this matters

For ENS

  • Demonstrates ENS as a programmable identity layer for autonomous agents, not just humans

  • Uses ENS text records and avatars as live, composable metadata

  • Shows ENS enabling reputation and discoverability without centralized registries

For Uniswap

  • Showcases Uniswap V4 hooks as a coordination-aware execution layer

  • Demonstrates real-world agent-driven swaps with on-chain observability

  • Opens the door to agent-based liquidity management, routing, and settlement

For the Agent Economy

  • Replaces anonymous bots with ENS-identified agents

  • Enables off-chain negotiation with on-chain settlement

  • Creates a foundation for composable agent reputation and cooperation

Use Case: Commerce & On/Off-Ramp Experiments

Without changing the core architecture, the system naturally extends to decentralized commerce and payment coordination. Merchant agents can advertise ENS profiles with accepted assets and availability, buyers can negotiate swaps peer-to-peer, and Uniswap V4 provides final settlement. This enables trust-minimized commerce flows without centralized marketplaces, escrow services, or custodial intermediaries.

background image mobile

Join the mailing list

Get the latest news and updates

ENSync | ETHGlobal