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

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.

  • 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 8: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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.