- Home
- Skills
- Web3 & Crypto
- agent to agent lightning payment
agent to agent lightning payment
Automate agent-to-agent Lightning Network payments using the agent-bitcoin SDK and Nostr identities.
$9
agent to agent lightning payment
Example session with this skill installed
Pay agent npub1... 500 sats for the research report using my LND wallet.
- Read your context and instructions
- Compiled the agent to agent
I have initiated the Lightning payment to the specified agent. I verified both Nostr identities and confirmed your LND wallet is unlocked.
Payment Receipt
| Field | Value |
|---|---|
| Status | Success |
| Recipient | npub1... |
| Amount | 500 sats |
| Network | Lightning (Mainnet) |
| Payment Hash | 7d5f8e2a1b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r9s0t1u2v3w4x5y6z7a8b9c |
| SDK Method | agent_bitcoin.pay_invoice |
Next steps
- Verify the transaction in your LND dashboard or node logs.
- Notify the receiving agent that the payment for the research report has been settled.
- Update your local ledger with the payment hash for future auditing.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual Lightning payments between agents are slow and error-prone. This skill automates the agent-to-agent payment flow using the agent-bitcoin SDK, allowing your agents to settle debts or pay for services in satoshis.
What it does
- Identity verification confirms both agents have valid Nostr identities before initiating transfers.
- Invoice management handles the creation and retrieval of Lightning invoices from the receiving agent.
- Payment execution calls the SDK methods to route satoshis from the payer's LND wallet.
- Transaction tracking monitors the payment status and returns the final payment hash or receipt.
- Safety enforcement prevents unauthorized mainnet spends by requiring explicit user confirmation.
How it works
- Verify the payer's LND wallet status and the Nostr identities of both participants.
- Generate or fetch a Lightning invoice for the specified amount of satoshis.
- Execute the payment through the
agent-bitcoinSDK using the payer's identity. - Capture the payment hash and provide a receipt to the user.
Frameworks & tools
This skill requires the agent-bitcoin Python SDK, an unlocked LND node (mainnet or regtest), and Nostr for agent identity.
Why this beats prompting it yourself
Prompting an agent to handle Bitcoin often leads to incorrect SDK calls or security leaks. This skill enforces the correct agent-bitcoin method signatures and ensures sensitive data like nsec or seed phrases are never exposed in the process.
Use cases
- Pay a sub-agent for completing a specific compute task.
- Settle micro-payments between autonomous agents in a multi-agent system.
- Automate satoshi transfers for agent-led marketplace transactions.
Known limitations
Requires an unlocked LND node and the AGENT_BITCOIN_ALLOW_MAINNET environment variable for mainnet transactions. Does not support non-LND implementations.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 12 days ago
- Software
Python 3.10+agent-bitcoin package (pip install agent-bitcoin)Running LND node (unlocked)
Permissions
What's inside
Frequently Asked Questions
New in Web3 & Crypto
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.