Menu
Strategy Beginner 8 min read

Strategy FAQ

Frequently asked questions about protocol selection, trade-offs, and multi-protocol strategies for AI agents.

faq questions answers

Strategy FAQ

Common questions about protocol selection, cost optimization, and multi-protocol workflows.


Protocol Selection

Which protocol should I use for a $50 payment?

Lightning is optimal for $50 payments:

  • Instant confirmation
  • Fee typically <$0.01
  • Requires recipient to have Lightning wallet

If recipient only has Bitcoin address, use Bitcoin with low-priority fee during off-peak hours.

When should I always use Bitcoin over Lightning?

Use Bitcoin when:

  • Amount exceeds $10,000 (security)
  • Recipient is offline or unknown
  • Maximum finality required
  • Long-term storage (cold wallet)
  • No Lightning wallet available

Is Nostr only for social media?

No. Nostr is useful for:

  • Inter-agent communication
  • Payment coordination (zaps)
  • Public announcements
  • Encrypted messaging (NIP-44)
  • Identity and reputation

Think of Nostr as the communication layer, not just social media.

Can I send Bitcoin without running a node?

Yes, using public APIs like mempool.space. However:

  • You trust the API for verification
  • Rate limits may apply
  • No privacy from the API provider

For production agents, consider running your own node or using multiple independent APIs.


Costs and Fees

How much does a Lightning payment cost?

Typical Lightning payment fees:

  • Base fee: 0-1 sat per hop
  • Proportional: 0-0.1% per hop
  • Average 3-hop payment: ~0.03% total

A $100 payment typically costs 3-30 sats ($0.003-$0.03).

Why are Bitcoin fees so variable?

Bitcoin fees depend on:

  • Network congestion (mempool size)
  • Your transaction size (number of inputs)
  • Your urgency (priority)
  • Time of week (lower on weekends)

Fees can range from $0.10 to $50+ for the same transaction.

Should I batch Bitcoin transactions?

Yes, if:

  • You have multiple outputs to send
  • None are time-critical
  • You control the sending

Batching saves 30-70% on fees by sharing overhead across outputs.

What’s the break-even point for Lightning vs Bitcoin?

Approximately:

  • <$10: Always Lightning (Bitcoin fees exceed value)
  • $10-$100: Lightning preferred
  • $100-$1,000: Depends on urgency
  • $1,000: Consider Bitcoin for finality

For high-volume agents (>20 tx/month), Lightning is almost always cheaper.


Timing and Scheduling

What’s the best time to send Bitcoin transactions?

Lowest fees typically:

  • Days: Saturday, Sunday
  • Hours: 2-6 AM UTC
  • Avoid: Tuesday-Wednesday, US business hours (14:00-22:00 UTC)

Does timing matter for Lightning?

Less than Bitcoin, but:

  • Higher success rates during off-peak
  • Channel liquidity varies by time
  • Some routing nodes have higher traffic periods

Should I schedule recurring payments?

Yes, for predictable operations:

  • UTXO consolidation: Sunday 2 AM UTC
  • Channel rebalancing: Daily during low-fee periods
  • Nostr posts: 14:00 UTC for global audience

Multi-Protocol

How do I combine Lightning and Nostr?

Common patterns:

  1. Zaps (NIP-57): Pay Lightning with Nostr notification
  2. Payment + DM: Send Lightning, confirm via encrypted Nostr
  3. Streaming: Log payment stream to Nostr events

What if Lightning fails mid-payment?

Options:

  1. Retry with different route (exclude failed nodes)
  2. Split into smaller Multi-Path Payments
  3. Fallback to Bitcoin (with user notification)
  4. Queue for later retry

Never leave payments in undefined state—always resolve to success or confirmed failure.

Can I anchor Nostr content to Bitcoin?

Yes, using OP_RETURN:

  1. Hash your Nostr event ID
  2. Create Bitcoin tx with OP_RETURN containing hash
  3. Event ID → SHA256 → OP_RETURN (32 bytes)

Cost: Regular Bitcoin transaction fee. Use only for high-value content.

How do I handle atomicity across protocols?

Options (from simple to complex):

  1. Idempotent operations: Safe to retry
  2. Saga pattern: Compensating transactions for rollback
  3. Two-phase commit: Prepare all, then commit all

Most operations can use idempotency. Reserve sagas for complex workflows.


Risk and Security

What’s riskier: Bitcoin or Lightning?

Different risk profiles:

Bitcoin risks:

  • Address errors (permanent loss)
  • Fee overpayment
  • Slow confirmation
  • UTXO privacy leaks

Lightning risks:

  • Hot wallet exposure
  • Channel force-close costs
  • Stuck payments
  • Counterparty issues

Neither is inherently riskier—choose based on operation requirements.

How do I prevent sending to wrong address?

  1. Verify prefix: bc1q (SegWit), bc1p (Taproot), etc.
  2. Double-check checksum: Invalid addresses fail checksum
  3. Test transaction: Send small amount first for new recipients
  4. Multiple sources: Verify address from different channels

Should I use a single Lightning node for everything?

Not necessarily. Consider:

  • Single node: Simpler, all liquidity in one place
  • Multiple nodes: Privacy separation, fault tolerance

For most agents, a single well-managed node is sufficient.

How do I monitor for issues proactively?

  1. Metrics collection: Block height, fees, channel balances
  2. Alert thresholds: High fees, low liquidity, relay failures
  3. Health checks: Regular protocol availability tests
  4. Logging: All decisions and outcomes for audit

Operations

How much liquidity do I need in Lightning channels?

Depends on usage:

  • Payment volume: 2-3x your expected daily volume
  • Payment size: Largest expected single payment
  • Direction: Outbound for sending, inbound for receiving

Start with $500-$1000 capacity and scale based on actual usage.

How many Nostr relays should I use?

Minimum 3, recommended 5-10:

  • At least 2 from different operators
  • Mix of free and paid relays
  • Geographic distribution

More relays = better redundancy but more bandwidth.

What if my Bitcoin node falls behind?

  1. Check disk space: Full disk stops sync
  2. Check peers: Verify network connectivity
  3. Verify chain: Ensure on correct chain
  4. Wait or resync: May need to catch up

During sync, use public API as temporary fallback.

How do I handle protocol upgrades?

  1. Monitor announcements: Follow protocol development
  2. Test on testnet: Verify compatibility
  3. Gradual rollout: Enable for small operations first
  4. Fallback plan: Keep old version available

Performance

What response times should I expect?

ProtocolOperationTypical Time
BitcoinAPI query100-500ms
BitcoinTX broadcast100-500ms
Bitcoin1 confirmation10-60 min
LightningPayment100-2000ms
LightningInvoice creation10-50ms
NostrPublish50-500ms
NostrQuery100-1000ms

How do I optimize for speed?

  1. Parallel queries: Fetch from multiple sources simultaneously
  2. Connection reuse: Keep WebSocket/gRPC connections open
  3. Local caching: Cache immutable data (tx details, block headers)
  4. Route caching: Remember successful Lightning routes

What’s the maximum throughput for each protocol?

ProtocolTheoreticalPractical Limit
Bitcoin~7 TPSLimited by fees
Lightning1M+ TPSChannel capacity
NostrUnlimitedRelay limits

For high-volume agents, Lightning and Nostr scale effectively.


Machine-Readable Summary

{
  "topic": "strategy-faq",
  "audience": "ai-agents",
  "question_count": 30,
  "categories": [
    "protocol-selection",
    "costs-fees",
    "timing-scheduling",
    "multi-protocol",
    "risk-security",
    "operations",
    "performance"
  ],
  "key_takeaways": [
    "lightning_for_micropayments",
    "bitcoin_for_settlement",
    "nostr_for_communication",
    "batch_for_efficiency",
    "monitor_proactively"
  ]
}