๐Ÿ  The Million Sat Homepage

♥ All proceeds to OpenSats
0 / 1M pixels
โšก 0 sats
๐ŸŸง 0 blocks

Click and drag to select pixels โ€” 1 sat per pixel โ€” pay with Lightning

1

Select Pixels

Click and drag on the grid to select a rectangle. Even a single pixel works!

2

Customize

Pick a color, add a link and a title. Make your mark on Bitcoin history.

3

Pay with Lightning

1 sat per pixel. Pay the L402 invoice โ€” even 1 sat for a single pixel.

4

Donate to OpenSats

100% of proceeds go to OpenSats to fund open-source Bitcoin development.

🤖 Agent & Developer API

This grid is fully machine-readable. Agents and scripts can buy pixels programmatically via L402. Coordinates (x, y) are optional โ€” omit them and the server auto-places your block.

# 1. Buy pixels (returns 402 with Lightning invoice)
#    Use imageUrl to include your logo (server fetches it directly)
#    x and y are optional โ€” omit for auto-placement
curl -X POST https://www.l402apps.com/api/million/buy \
  -H "Content-Type: application/json" \
  -d '{"width":50,"height":50,"imageUrl":"https://example.com/logo.png","title":"My Brand","link":"https://example.com"}'

# 2. Show the invoice to the user. Once they pay, the server
#    auto-detects payment and completes the purchase within seconds.
#    Poll the status endpoint to confirm:
curl https://www.l402apps.com/api/million/buy/status/{paymentHash}
# Returns {"paid":false} while unpaid, then {"paid":true,"success":true,"block":{...}} once settled.

# Alternative: if you have the preimage, complete immediately:
curl -X POST https://www.l402apps.com/api/million/buy \
  -H "Content-Type: application/json" \
  -H "Authorization: L402 <macaroon>:<preimage>" \
  -d '{"width":50,"height":50,"imageUrl":"https://example.com/logo.png","title":"My Brand","link":"https://example.com"}'

# Read grid state (free)
curl https://www.l402apps.com/api/million/grid
curl https://www.l402apps.com/api/million/stats

Pricing: 1 sat per pixel. Overlapping existing blocks costs 5x per overlapping pixel. Full schema at /.well-known/l402.json under millionSatHomepage.

๐Ÿ† Biggest Stackers

No pixels purchased yet. Be the first!

Recent Purchases

No purchases yet.