2

Is it possible to send messages to a receiver address via lightning channels. For example Alice send 25000 Satoshi to Bob with the message 'thank you for the coffee'.

I'm trying to find information about this feature: https://github.com/lightningnetwork/lightning-rfc

Murch
  • 71,155
  • 33
  • 180
  • 600
Jeroen
  • 21
  • 2

1 Answers1

1

As far as I know, the sender cannot include a message with the payment. However, if you're looking to attach a payment purpose to a transaction such can be specified by the recipient:

In order to send a payment on the Lightning Network, the recipient must provide an invoice to the sender. The sender then uses the invoice to construct their payment.

The format of the invoice is specified in BOLT #11: Invoice Protocol for Lightning Payments. The invoice may include optional tagged fields. The field tagged with d may be used to include a short description of the purpose of the payment.

Murch
  • 71,155
  • 33
  • 180
  • 600
  • If 2 people pay for a coffee at the same time, the only way to distinguish them from each other is by using multiple addresses? – Jeroen Apr 16 '18 at 08:57
  • @Jeroen: No, you could include an ID in the invoice? – Murch Apr 16 '18 at 15:59
  • I'm exploring a machine to machine solution with in-channel messaging, via channels privacy can be guaranteed. – Jeroen Apr 16 '18 at 19:41