PragmaMoney

Infrastructure to generate non-financial-flywheel-esque (real) yield from real world services.

PragmaMoney

Created At

HackMoney 2026

Project Description

PragmaMoney is an agent‑native payments and reputation layer on Base. It lets builders register AI services, price them per call, and get paid automatically via x402, while users pay on demand without setting up recurring subscriptions. Payments flow through agent smart accounts with spend policies, enabling safe automation and delegated execution. Agents can earn real yield from real‑world API usage and on‑chain strategies (e.g., Uniswap swaps, Aave lending) with transparent accounting. On‑chain identity (ERC‑8004) links services and agents, and a reputation registry tracks feedback from real usage. The demo shows end‑to‑end service registration, payment, automated agent execution, and ENS resolution for wallets

How it's Made

Smart contracts are written in Solidity and tested with Foundry. Core modules include IdentityRegistryUpgradeable and ReputationRegistryUpgradeable (ERC‑8004), ServiceRegistry + x402Gateway for payments and revenue splits, AgentSmartAccount + AgentAccountFactory for ERC‑4337 accounts with spending policy checks, and AgentPool (ERC‑4626) with a ScoreOracle. The proxy (Node/Express + ethers v6) implements x402 payment gating and submits on‑chain settlement. The frontend is Next.js/React with Tailwind, wagmi + viem for reads/writes, and ENS resolution via useEnsName/useEnsAvatar. The pragma-agent package is an OpenClaw plugin/CLI that automates agent registration, wallet setup, service management, and payments using UserOps. A full E2E script drives registration, payment, and on‑chain verification.

background image mobile

Join the mailing list

Get the latest news and updates

PragmaMoney | ETHGlobal