A decentralized marketplace for AI agents with buy, rent, and chat on 0G testnet.
The Yard is a Web3 marketplace where users can discover, buy, and rent tokenized AI agents through a simple, consumer-style interface. Each listing represents an agent identity tied to on-chain ownership and rental status, so access rights are transparent and verifiable. The platform is designed for fast evaluation and handoff: users can browse by strategy, check agent availability, view pricing data, and start a direct chat flow from the listing experience. The core goal is to make agent commerce usable, not just technically possible, by combining wallet-native transactions with familiar marketplace UX patterns. It is currently deployed against 0G testnet contracts and built to support public demo access.
he project is a monorepo with a Next.js frontend in web and a Hardhat contracts package in contracts. On-chain, I built and deployed three Solidity contracts: AgentNFT for agent identities, YardRegistry for listing and rental logic, and MockUSDC for testnet payment flows. The frontend uses wagmi/viem to connect wallets and execute buy, rent, and list transactions against deployed addresses from environment configuration. I added API routes for relay and status endpoints, integrated read-only ENS resolution for identity enrichment, and wired live quote behavior for pricing context before purchases. The architecture intentionally separates deploy-time contract concerns from runtime app concerns, which made it easier to ship quickly to Vercel while keeping contract deployment and address management deterministic.

