A nickel a joke
nickeljoke is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on coinbase, nextjs, vercel, x402. It currently has 1 GitHub stars and 1 forks, and sits alongside related tools like monapi, parlaycity, x402charity.

NickelJoke is a web application that generates personalized jokes on any topic using AI, powered by the x402 payment protocol. Pay small amounts of USDC to get custom jokes, demonstrating the future of micropayments for AI services.
Built with Next.js, x402, and Coinbase CDP, this app showcases how easy it is to monetize AI services with cryptocurrency payments in a fun, engaging way.
This project was built using the x402 AI Starter Kit - a Next.js template that demonstrates how to integrate x402 payments with AI services.
git clone https://github.com/btahir/nickeljoke
cd nickeljoke
pnpm install
Set up Coinbase CDP credentials
Sign into the Coinbase CDP portal and create API keys.
Configure environment variables
Copy .env.example to .env.local and set:
CDP_API_KEY_ID - Your CDP API key IDCDP_API_KEY_SECRET - Your CDP API secretCDP_WALLET_SECRET - Your wallet secret phraseStart the development server
pnpm dev
Open the app
Visit http://localhost:3000 in your browser.
The app uses Base Sepolia (testnet) by default, so you can test with fake money. Get free testnet USDC from the Coinbase CDP faucet.
CDP_API_KEY_IDCDP_API_KEY_SECRET CDP_WALLET_SECRETTo use mainnet (real money):
NETWORK=base in your environment variablessrc/
├── app/ # Next.js App Router
│ ├── api/joke/ # Joke generation API endpoint
│ └── share/[id]/ # Shared joke pages
├── components/ # React components
│ ├── ui/ # Reusable UI components
│ ├── rough-components/ # Hand-drawn style components
│ └── joke-*.tsx # Joke-specific components
└── lib/ # Utilities and configuration
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is open source and available under the MIT License.
One-line API monetization for AI agents. Pay-per-request USDC payments via x402. Express, Next.js, MCP.
On-chain parlay betting protocol on Base. ETHDenver 2026.
Automatic micro-donations powered by x402. Drop-in Express/Next.js middleware that sends USDC to charities on every user action. npm install x402charity.
A payments protocol for the internet. Built on HTTP.
Self-healing infrastructure for AI agent payments. 90.3% auto-recovery.
Daydreams is a set of tools for building agents for commerce
The best way to monetize AI applications & MCP, using x402, CDP Smart Wallets & Paymaster
URL shortener
AWS payment demo of x402 using Bedrock AgentCore, Strands SDK, and CloudFront.