Search projects, hackathons, sponsors and tech

    ← All projects

    AegisNet

    A permissioned agentic DeFi matrix combining ENSv2, 1inch SwapVM, Uniswap v4 & World ID

    Demo

    About

    AegisNet is a unified infrastructure and execution layer that safely empowers autonomous AI trading agents to manage complex decentralized finance positions without exposing users to total fund loss. As AI transitions from an offchain advisor to an active onchain actor, the ecosystem faces a severe security trilemma: agents lack standard hierarchical identities, execute with absolute unchecked wallet control, and require seamless human-in-the-loop validation to prevent rogue transactions.

    How it's made

    AegisNet is built as a full-stack Web3 application connecting a Next.js/TypeScript frontend, a secure Node.js backend verification server, and a suite of smart contracts deployed across Sepolia testnets. ENSv2 Integration: We deployed and configured hierarchical subname registries on the ENSv2 Sepolia beta. We utilized Permissioned Resolvers and Enhanced Access Control contracts to programmatically tie agent wallet addresses to individual subnames, enabling role-based editing rights for specific text records and namespaces. 1inch Aqua & SwapVM: The agent uses TypeScript scripts interacting with the 1inch Aqua SDK to compile custom SwapVM bytecode instructions. Instead of standard router calls, the agent's strategy executes as atomic opcodes that handle multi-token swaps and position entries efficiently. Uniswap v4 Custom Hooks: We wrote a custom Uniswap v4 pool hook (AgentGatedHook.sol) that hooks into beforeSwap and beforeAddLiquidity. The hook queries the ENSv2 registry contract onchain to confirm that the interacting address holds a valid, non-expired agent subname under an approved parent domain. World ID / IDKit & Backend Security: We integrated the World ID Agent Plugin and IDKit on the frontend. When the agent attempts a trade crossing a risk threshold, the app generates a verification request. The ZK-proof is securely sent to our backend server, which validates the cryptographic proof against Worldcoin's developer environment. Only upon successful server-side validation does the backend release the signed payload to execute the 1inch/Uniswap transaction path.