Example prompts to add Bitcoin Lightning payments to your app with vibe coding, that you can adapt to your needs. Adding bitcoin lightning payments can be easy!
- A NWC-enabled lightning wallet. Get one in minutes by connecting to Alby Hub, coinos, Primal, lnwallet.app, Yakihonne, or other NWC-enabled wallets.
- Online agent editor (Genspark.ai - frontend apps only), or local agent code editor (Windsurf/Cursor) or VS Code agent plugin (Cline/Roo code with a configured LLM provider)
- Copy and paste one of the example prompts below and adapt it to your needs.
- Paywall Confetti (Shows confetti after successful payment) - Deepseek - Gemini
- Features: Bitcoin Connect, Lightning Tools
- Endless Runner game (Pay to continue playing after player dies) - Deepseek - Gemini
- Features: Bitcoin Connect, Lightning Tools
- Snake game (Pay to continue playing after player dies) - Genspark.ai
- Features: Bitcoin Connect, Lightning Tools
- Nostr TODO app - Gemini
- Features: Nostr Zaps, window.nostr and window.webln
- Coinflip game (Pay 10 sats but earn 20 if you guess correctly) - Deepseek
- Features: Nostr Wallet Connect, Bitcoin Connect
- NWC CLI (connect a wallet and interact with it via CLI) - Quasar Alpha
- Features: Nostr Wallet Connect, Nostr Wallet Auth
Currently most LLMs have trouble with getting up-to-date info which can cause them to "guess" how payments should be implemented. So, we can work around this by one of the following:
- downloading the NPM package and asking them to read it (e.g.
install @getalby/[email protected] and then read the package to understand how the NWCClient works
) - asking the LLM to fetch the README and read it first (e.g.
fetch https://raw.githubusercontent.com/getAlby/js-sdk/refs/heads/master/README.md
) - ask it to read the latest esm.sh e.g. (
fetch https://esm.sh/@getalby/[email protected]/es2022/sdk.mjs
)
- Cline + PPQ.ai + Claude 3.7
- Get API key from PPQ.ai
- Top up with Lightning payments
- Cline + Google Gemini 2.5 Pro
- Access via Google AI Studio
- Limited free queries, pro plan with Credit card
- Cline + Deepseek Chat v3 Free
- Available on OpenRouter
- Free (limited use)
- Roo Code + Quasar Alpha
- Available on OpenRouter
- Free (limited use)
- Cline + Claude 3.7
- Get API key from Anthropic Console
- Top up with Credit card (No free plan)
- Other Editors
- Cursor (Limited free queries, pro plan with credit card)
- Windsurf (Limited free queries, pro plan with credit card)
- Genspark.ai (Web app, Limited free credits, paid plan with credit card. NOTE: only works to make client-side apps)
- Replit Agent v2 (Web app, Limited free credits, paid plan with credit card NOTE: currently it is does not work well and makes many bugs)
- VSCode Copilot (Limited free credits, paid plan with credit card)
- Lovable.dev (Limited free credits, paid plan with credit card. NOTE: cannot do requests to fetch README content, you must paste it into the prompt. Can do full stack apps using Supabase integration)
- Firebase studio NOTE: seems to not work well currently, needs more testing
Pull requests welcome! Please ensure that you follow the current directories as examples:
- put in a folder like
environment
/demo-short-description
/model-name
whereenvironment
can behtml
orreact
orexpress
ornextjs
etc.demo-short-description
should hint and what the demo is about, andmodel-name
should be the exact model name of the LLM. - All prompts are refined and work with one-shot commands unless specified
- Include clear README instructions on what tools were used to execute the prompt, how to view the output, and prompt.txt for each implementation
Please include ones that you have tested that work OK, and include whether they are free or not and how they can be paid
- create an app that uses nostr for identity
- create an app that uses nostr relays for simple backend storage
- create autonomous ai agents performing machine to machine payments using lightning
- create a lightning lotto app where each satoshi paid increases the time before the winner is drawn
- create an app like github star history but for V4V payments
- create an AI workflow triggered by a received payment using an NWC receive-only connection
- create an in-game store where users can buy vanity items with lightning
- create a lightning prism app powered by NWC
- build an MCP server that requires payments (such as a Stacker news client), that can be paid by nwc-mcp-server
- build an N8N workflow for an AI zapvertising agent
- build an N8N NWC node
- build a vibe coding platform centered around Bitcoin and Nostr
- build an anonymous app hosting platform paid for with a single lightning payment
- Build an app that can summarize github repositories (or multiple repositories) into a single-pager that you can feed to AI to consume.
- Build the same app with a new agent software or LLM. It's cool to see what works and what doesn't!
- Submit your ideas here and maybe someone else will build them!