Quick Start
Send & Receive on Lightning
Learn how to send and receive Lightning Network payments
Estimating Lightning Fees
Before sending or receiving payments, you can estimate the associated fees:
Sending a Lightning Payment
Follow these steps to send a Lightning invoice:
-
Pay a Lightning Invoice
-
Confirm the Payment
Once the payment is outbound, you can confirm the payment by checking it’s status:
Receiving a Lightning Payment
To receive payments, generate and share your Lightning invoice with the sender.
-
Generate an Invoice
-
Wait for Payment
Monitor your wallet to confirm receipt of the payment.
Best Practices
- Invoice Expiry: Set appropriate expiry times for invoices using the
expirySeconds
parameter (defaults to 24 hours). - Monitor Transactions: Regularly sync your wallet to stay updated on incoming and outgoing payments.
- Zero Amount Invoices: When paying zero amount invoices, always specify the amount_sats parameter.
- Payment Status: Always check the payment status using getLightningPaymentRequest to confirm successful completion.
- Fee Estimation: Always estimate fees before sending or receiving payments to avoid surprises.
Next Steps
Proceed to Send & Receive on Spark for direct transactions within Spark.