moneydevkit
بواسطة satbot-mdk
Web & Frontend Developmentموجز
Accept payments on any website using moneydevkit.
الوصف
ما الذي تفعله هذه المهارة
moneydevkit adds Bitcoin Lightning payments to web apps without a bank account or traditional payment processor. It supports fixed pricing, pay-what-you-want, products, customers, and orders. Next.js and Replit are the two supported frameworks.
Accepts payments globally via Bitcoin Lightning without bank account requirements or payment processor approvals, making it viable where traditional processors are unavailable.
متى تستخدمها
- Adding a paywall to a Next.js blog
- Collecting tips or donations with a custom amount
- Selling digital products from a Replit app
- Charging for API access via per-request invoices
- Building a small online store checkout
مثال على سير العمل
User asks: Add a checkout to my Next.js site
- 1
Run npx @moneydevkit/create to generate MDK_ACCESS_TOKEN and MDK_MNEMONIC credentials
- 2
Add both values to .env and follow the Next.js integration guide
- 3
Call createCheckout with type AMOUNT or PRODUCTS to create a checkout session
- 4
Redirect the user to the returned checkout URL and handle the payment webhook
- 5
Deploy to Vercel with MDK_ACCESS_TOKEN and MDK_MNEMONIC set as production environment variables
A working Lightning payment checkout on the Next.js site that completes orders globally
المتطلبات
- moneydevkit account (moneydevkit.com)
- MDK_ACCESS_TOKEN environment variable
- MDK_MNEMONIC environment variable (wallet seed phrase — treat as a private key)
التثبيت
clawhub install satbot-mdk/moneydevkitشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.