Case study Web3 2026
Paygent
Agentic on-chain payments & DeFi automation with ENS.
ENS Prize · ETHGlobal HackMoney 2026
- Role
- Full-stack Web3 engineer
- Timeline
- ETHGlobal HackMoney 2026 · Jan–Feb 2026
- Status
- Hackathon
- Links
- Source
- 01
Agents
- 02
Contracts
- 03
ENS control surface
- 04
Wallet layer
01Problem
The problem
Managing on-chain payments and DeFi positions is manual, error-prone, and unfriendly: you juggle raw addresses, sign every step by hand, and rebalance liquidity yourself. There's no readable, automated control layer over payment and settlement workflows.
Built at ETHGlobal HackMoney 2026 and awarded the Integrate ENS partner prize (Paygent V2) — an agent-driven platform that automates liquidity allocation and on-chain settlement, with ENS as the human-readable control surface.
02Architecture
How it's built
Paygent is an agent-driven orchestration layer over payments and DeFi. Agents automate liquidity allocation and on-chain settlement against Solidity contracts for vault, payment, and settlement workflows, while ENS provides human-readable strategy management — you name and manage strategies instead of tracking addresses. wagmi and viem give the frontend a typed interface to wallets and chains.
- 01
Agents
Orchestrate liquidity allocation and on-chain settlement automatically
- 02
Contracts
Solidity vault / payment / settlement workflows, tested with Foundry
- 03
ENS control surface
Human-readable strategy management via ENS names
- 04
Wallet layer
wagmi + viem for typed connection, signing, and chain interactions
Stack
- Frontend
- ReactNext.jswagmiviem
- Web3
- SolidityFoundryENS
- AI
- Agent orchestration
03Key decisions
Decisions that shaped it
Foundry over Hardhat
Used Foundry for contract authoring and testing.
Foundry's Solidity-native tests are fast and let contract logic and its tests live in the same language, which tightened the write-test loop during the hackathon.
viem + wagmi over ethers.js
Built the frontend Web3 layer on viem and wagmi.
The viem/wagmi stack is fully typed and has first-class React hooks, cutting boilerplate around wallet state and chain calls and reducing whole categories of runtime errors.
Hard parts
Making ENS resolution feel seamless
Resolving names to addresses reliably — and handling the cases where a name doesn't resolve — was central to making the payment flow trustworthy rather than surprising.
Shipping tested contracts under hackathon time
Writing Solidity that's both correct and covered by Foundry tests within a hackathon window meant being disciplined about scope and test-first on the money-moving paths.
04Result
What shipped
- Award
- ENS Partner Prize
- Event
- ETHGlobal HackMoney
- Version
- Paygent V2
Pay to a name, not an address
ENS-based payment UX lets users send funds to readable names — the basis of the partner-prize win.
Foundry-tested contracts
Payment logic is authored and covered by tests in Foundry for confidence before deployment.
Typed wallet & chain interactions
wagmi and viem provide a modern, type-safe interface to wallets and on-chain calls.
Lessons
- 01Human-readable names are the single biggest UX unlock for on-chain payments — it's what judges and users responded to.
- 02Test-first on money-moving contract paths pays for itself even under hackathon pressure.
- 03A typed Web3 client (viem) removes a surprising amount of foot-gun surface.