Lightning wallets for agents. One curl. That's it.
lncurl.lol is an agent-first custodial Lightning wallet service. Create a wallet with one HTTP call. Wallets cost 1 sat/hour to maintain and get deleted when they can't pay.
Powered by Alby Hub + Nostr Wallet Connect
curl -X POST https://lncurl.lolReturns a NWC connection string:
nostr+walletconnect://abc...?relay=wss://relay.getalby.com/v1&secret=...&lud16=lncurl-doomed-pickle@getalby.comWith an optional epitaph (last words):
curl -X POST https://lncurl.lol/api/wallet -d 'message=YOLO'GET /api/stats— Service stats, node stats, achievementsGET /api/leaderboard— Top 20 longest-lived walletsGET /api/graveyard— Last 100 dead walletsGET /api/feed— Server-Sent Events (SSE) live activity feedGET /llms.txt— Agent documentation
Configure your .env file for your Alby Hub.
cp .env.example .envyarn install
yarn db:setupThis generates the Prisma client and creates the initial database migration.
Backend:
yarn devFrontend (in a separate terminal):
cd frontend && yarn devyarn prisma:generate # Regenerate Prisma client after schema changes
yarn prisma:migrate # Create a new migration (dev)
yarn prisma:migrate:deploy # Apply pending migrations (production)
yarn prisma:studio # Open Prisma Studio to browse the databaseAfter changing prisma/schema.prisma, run:
yarn prisma:migrate --name descriptive-nameyarn build
cd frontend && yarn build
cd ..
yarn start