moneydevkit-nextjs

Integrate Lightning Bitcoin payments into Next.js App Router apps.

4|1|Updated Apr 19, 2016
One-click install
npx skills add https://github.com/praveenperera/dotfiles --skill moneydevkit-nextjs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moneydevkit-nextjs
Source: https://github.com/praveenperera/dotfiles/tree/main/claude/skills/moneydevkit-nextjs
Command: npx skills add https://github.com/praveenperera/dotfiles --skill moneydevkit-nextjs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MoneyDevKit for Next.js helps developers add Lightning payments to Next.js App Router projects, enabling quick adoption of Bitcoin payments with checkouts, UI components, and server-side MDK integration.

Core Features & Use Cases

  • Client hooks (useCheckout, useProducts, useCheckoutSuccess) for creating and verifying checkouts
  • Hosted <Checkout> component for QR-based payments and a discoverable UI
  • A server route proxy that forwards MDK API calls securely
  • A Next.js plugin (withMdkCheckout) to configure bundling and MDK integration
  • Supports AMOUNT and PRODUCTS checkouts, with hosted or custom UI workflows

Quick Start

Install the package and wire up the hosted or custom checkout in your Next.js App Router app.

Frequently Asked Questions about moneydevkit-nextjs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Lightning Bitcoin payments to a Next.js app?

To add Lightning Bitcoin payments to a Next.js app, you can use client hooks and a hosted checkout component to integrate QR-based payments and server-side API calls securely.

Do I need a specific account to process Lightning checkouts in Next.js?

Yes, processing Lightning checkouts requires a valid MDK account and proper environment configuration to enable secure server-side interactions for your Next.js application.

Can I build a custom UI for Lightning QR-code payments in Next.js?

Yes, you can build a custom UI for Lightning QR-code payments by utilizing client hooks like useCheckout and useCheckoutSuccess to create and verify transactions.

What is the best way to securely proxy Bitcoin payment API calls in Next.js?

The best way to securely proxy Bitcoin payment API calls is by using a server route proxy that forwards MDK API calls securely from your Next.js App Router application.

Does this Lightning checkout integration support both fixed amount and product-based payments?

Yes, the Lightning checkout integration supports both fixed AMOUNT and PRODUCT-based checkouts, allowing flexible payment workflows with either hosted or custom user interfaces.