moneydevkit
Money Dev Kit
Overview
Integrate Lightning payment workflows using Money Dev Kit. Use this skill when tasks involve setting up @moneydevkit/agent-wallet for autonomous agents, wiring @moneydevkit/nextjs or @moneydevkit/replit checkout flows, bootstrapping credentials via @moneydevkit/create, validating MDK environment variables, or applying hybrid architecture constraints (hosted API plus self-custodial node).
Environment
- Requires
bash,curl, and Node.js 20+. - Requires internet access to npm and Money Dev Kit services.
Use this skill for implementation tasks, not high-level Lightning theory.
Workflow
- Choose the right integration path first:
agent-walletpath for autonomous agents and CLI automation (no API account required).nextjsorreplitcheckout path for hosted checkout UI and product catalog workflows (requires credentials).
- Run preflight checks:
scripts/check-mdk-prereqs.sh agent-walletfor wallet automation path.scripts/check-mdk-prereqs.sh checkoutfor API/checkout path.
- Execute the selected path:
- Agent wallet flow from agent-wallet-operations.
- Checkout flow from checkout-integration.
- Apply architecture and custody constraints:
- Use architecture-and-self-hosting before finalizing deployment.
- Explicitly handle mnemonic custody, API key handling, and self-hosted vs hosted service decisions.
- Verify outcome:
- For wallet path: can
receive,send, and inspectpaymentswith JSON responses. - For checkout path: can create checkout, render hosted checkout page, expose
/api/mdk, and verify paid status.
Quick Commands
# Agent wallet path (signet recommended for testing)
npx @moneydevkit/agent-wallet@latest init --network signet
npx @moneydevkit/agent-wallet@latest status
npx @moneydevkit/agent-wallet@latest balance
# Checkout path credential bootstrap
npx @moneydevkit/create@latest
Reference Files
- agent-wallet-operations: no-account self-custodial CLI workflow.
- checkout-integration: Next.js/Replit wiring, env vars, and checkout loop.
- architecture-and-self-hosting: hybrid model, trust boundaries, and self-host knobs.
More from openagentsinc/openagents
worker-logs
Tail and inspect Cloudflare Worker logs from the CLI. Use when debugging API 401/500, legacyparity auth, or web app errors. Covers both the homepage worker (apps/web) and the API worker (apps/api).
37blink
Bitcoin Lightning wallet for agents — balances, invoices, payments, BTC/USD swaps, QR codes, price conversion, and transaction history via the Blink API. All output is JSON.
34l402
L402 agent commerce workflows with lnd, lnget, scoped macaroons, aperture, and MCP.
34charms
Charms workflows for Bitcoin app contracts, spell proving, and UTXO asset operations.
34neutronpay
Neutronpay MCP and SDK workflows for Lightning, stablecoin, and fiat payments.
34mezo
Mezo integration workflows for apps, autonomous agents, and Mezo Earn operations.
33