• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
stevekrouse

stevekrouse

x402-playground

Playing with internet-native payment protocols
Public
Like
x402-playground
Home
Code
6
lib
5
routes
4
README.md
SLIDES.md
H
buyer.tsx
H
seller.tsx
Connections
Environment variables
2
Branches
1
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
SLIDES.md
Code
/
SLIDES.md
Search
…
Viewing readonly version of main branch: v92
View latest version
SLIDES.md

What if you never had to get an API key ever again?


The Problem

  1. Sign up to Val Town (or replit, lovable, vercel, etc)
  2. Vibe coding gets you super far in minutes
  3. You need an API key for Browserbase, OpenAI, S3, etc...
  4. You spend 5-45min creating an account, adding payment...
  5. Only to find it's the wrong API! Try again!
  6. 90% of the time of making a vibe-coded-app is getting API keys!

Val Town's workaround (so far)

  • Val Town Standard Library
    • OpenAI
    • Email
    • Blob
    • SQLite
    • IP-anonmyizer (discontinued)
  • Twitter API proxy
  • Clay API proxy
  • Push users towards free APIs

The Dream

  1. Show up to any API with cold hard cash
  2. Immediately send micropayments to try stuff out
  3. Open protocol > closed app store

"Open Router for everything, as a protocol"


Suprise! It already exists!


x402

Created by Coinbase, supported by Stripe

Launched May 2025


Let's try it out

  1. Create a wallet
  2. Add USDC
  3. Make a payment
  4. Accept a payment

1. Create a wallet


2. Add USDC


3. Make a payment


4. Accept a payment


Tricky payments

  • What about LLM payments where it can be variablea
  • What about vms/storage/databases like ec2 or s3 or supabase?

The Solution

  1. Sign up to Val Town (or replit, lovable, vercel, etc)
  2. Val Town creates for you (or imports) a crypto wallet
  3. Val Town gives you some free pennies to play (but you can add more)
  4. You vibe code an app in minutes, it uses half a dozen APIs
  5. It works; the app is done. You never got any API keys.

What's next?

  1. We need more sellers on x402. Why isn't there a gold rush? Anyone can proxy any paid API onto here and make money.
  2. We need to make the onramp easier. I know Stripe is working on it. Maybe "Login with Stripe" or "Login with Coinbase" could be helpful?

Open questions

  • What impact does this have on performance?
  • Can we improve the performance by skipping the x402 step and simply showing up with payment that we know they'll ask for?
  • Can we prepay or use escrow to improve performance?
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.