Legal Considerations
This document outlines the legal considerations, liability boundaries, and terms acknowledgment for using Lightning Enable's AI spending capabilities.
Architecture
Lightning Enable is API middleware software that connects your platform to OpenNode.
What Lightning Enable Does
- Provides MCP tools that interact with your wallet
- Forwards payment requests to your configured wallet provider
- Enforces budget limits you configure
- Tracks payment history for transparency
What Lightning Enable Does NOT Do
- Hold, custody, or control any Bitcoin (OpenNode does this)
- Generate, store, or access private keys
- Process payments (OpenNode does this)
- Make spending decisions on your behalf
- Guarantee payment success or reversal
How It Works
Lightning Enable = API Middleware (connects your platform to OpenNode)
OpenNode = Payment Processor / Custodian (handles funds)
You = OpenNode Account Holder
Lightning Enable forwards API requests to OpenNode. OpenNode processes payments and handles custody. Consult with legal counsel regarding your specific regulatory obligations.
Liability Boundaries
User Responsibilities
By using the pay_invoice tool, you acknowledge responsibility for:
-
Authorizing AI Spending
- You are explicitly authorizing an AI agent to initiate payments
- You understand the AI may make payments based on its interpretation of your requests
- You accept that AI systems can make mistakes
-
Configuration
- Setting appropriate budget limits
- Using a dedicated wallet with limited funds
- Securing your API keys
- Monitoring spending activity
-
Oversight
- Reviewing payments made by AI agents
- Detecting and reporting unauthorized activity
- Maintaining adequate supervision
-
Funds
- All funds in your wallet are at risk
- You accept potential loss up to your wallet balance
- You will not hold Lightning Enable liable for spent funds
Lightning Enable Does NOT Accept Liability For
- Payments made by AI agents, intended or unintended
- Misinterpretation of user intent by AI systems
- Prompt injection or social engineering attacks
- API key compromise or unauthorized use
- Budget bypass exploits or software bugs
- Third-party service failures (OpenNode, Lightning Network)
- Loss of funds due to any cause
- Consequential damages from AI spending activity
Risk Acknowledgment
Using pay_invoice involves inherent risks:
| Risk | Description |
|---|---|
| AI Misinterpretation | AI may pay invoices you didn't intend |
| Prompt Injection | Malicious content may trigger payments |
| Key Compromise | Stolen API keys enable unauthorized spending |
| Software Bugs | Edge cases may bypass budget limits |
| Network Issues | Payments may fail or be delayed |
| Irreversibility | Lightning payments cannot be reversed |
Terms of Use
Explicit Acknowledgment
By configuring and using the pay_invoice tool, you explicitly acknowledge:
-
Voluntary Authorization
- You are voluntarily authorizing automated spending
- You can revoke this at any time by removing your API key
- Continued use constitutes continued authorization
-
Assumption of Risk
- You understand and accept all risks described in this document
- You are using AI spending capabilities at your own risk
- You have been warned and proceed with informed consent
-
Budget Limits
- Budget limits are advisory safeguards, not guarantees
- Edge cases, race conditions, or bugs may allow spending beyond limits
- You accept this possibility and have limited your wallet balance accordingly
-
No Recourse
- You waive claims against Lightning Enable for spent funds
- You will not seek recovery from Lightning Enable for any loss
- Your recourse is limited to your relationship with OpenNode
-
Age and Capacity
- You are of legal age to enter contracts in your jurisdiction
- You have legal capacity to make financial decisions
- You are not using this service where prohibited
Jurisdictional Considerations
- Bitcoin and Lightning Network may be regulated in your jurisdiction
- AI spending may have tax implications
- You are responsible for compliance with local laws
- Lightning Enable makes no representations about legality in any jurisdiction
Recommendations
For Individual Users
- Use only discretionary funds you can afford to lose completely
- Start with minimal amounts (< $10 equivalent)
- Increase slowly as you gain experience
- Never use funds needed for bills, savings, or obligations
- Consult a financial advisor if unsure
For Businesses
- Create separate accounts for AI spending
- Implement internal controls and spending approval workflows
- Document all AI spending authorization
- Audit AI spending regularly
- Consult legal counsel about liability exposure
- Consider insurance for potential losses
For Developers
- Test with testnet before mainnet
- Use minimal budgets in production
- Log all payment attempts for debugging
- Handle failures gracefully
- Implement circuit breakers for anomalous spending
Indemnification
You agree to indemnify, defend, and hold harmless Lightning Enable, its officers, directors, employees, and agents from any claims, damages, losses, or expenses (including attorney fees) arising from:
- Your use of AI spending tools
- Payments made through your configured wallet
- Violation of these terms
- Unauthorized use of your API keys
- Your negligence or willful misconduct
Contact
For questions about these legal considerations:
- General inquiries: support@lightningenable.com
- Legal matters: legal@lightningenable.com
- Security issues: security@lightningenable.com
Related Documentation
- AI Spending Security - Security best practices
- Spending Guidelines - Budget recommendations
- Terms of Service - Contact support@lightningenable.com
- Privacy Policy - Contact support@lightningenable.com