MoonPay Agents API · Zero Fees · Live Demo

Agents fund themselves.
No human required.

hackathon.ows.eth resolves its own wallet address via ENS, calls the MoonPay Agents API, and receives $1,000 USDC — programmatically, in one command.

$1,000 fiat = $1,000 USDC  ·  zero fees  ·  zero spread  ·  no human interaction

$ows wallet show --name hackathon.ows.eth
✓ Agent identity loaded
EVM 0x0F33A5...394c13
SOL 5Y3dUi...TPRH
BTC bc1qxr2hvf...
$_
agent.ts — how it works in code
import { MoonPayAgents } from "@moonpay/agents";
import { resolveENS } from "@ows/resolver";
// Agent resolves its own identity
const wallet = await resolveENS("hackathon.ows.eth", "base");
// Agent calls MoonPay — no human needed
const result = await MoonPayAgents.buy({
walletAddress: wallet.address,
currencyCode: "usdc",
baseCurrencyAmount: 1000,
baseCurrencyCode: "usd",
});
console.log(`Funded: ${result.cryptoAmount} USDC → ${wallet.address}`);

How it works

Three primitives. One command.

01

ENS Identity

hackathon.ows.eth stores all chain addresses as ENSIP-9 coin-type records on Ethereum mainnet. The agent knows its own wallet address by resolving its ENS name.

02

MoonPay Agents API

The agent calls moonpay buy usdc — one CLI command or API call. No human opens a browser. No form to fill. The wallet address is passed programmatically from the ENS record.

03

Zero-Fee Settlement

$1,000 fiat becomes $1,000 USDC. MoonPay eliminated all fees for agent onramps. The USDC lands directly in the agent's OWS wallet on Base — ready to transact.

Built at @OpenWallet Hackathon · Track 03: The Grid·Full Demo ·@ensconnoisseur