Author

Topic: Is keysend the best way to transfer custom data between peers with lightning? (Read 55 times)

legendary
Activity: 2856
Merit: 7410
Crypto Swap Exchange
Is there any other way?. I'm thinking that maybe lnurl can be used to transfer custom data somehow, but haven't explored that path yet.

You could abuse comment field in payRequest to send small amount of data. But both peer must explicitly enable comment field and it's limited by 2000 character on the URL (which also contain payment information), so it's more practical to use comment field to send notes/download link instead.
hero member
Activity: 952
Merit: 938
I'm looking at what would be the best way to send custom data between peers using lightning.

So far, I think keysend is the best way to do it, but the lightning server needs to be configured to explicitly accept these messages. It's not on by default.

It seems that projects like juggernaut use this approach, since they explain how to enable keysend in their github.

Is there any other way?. I'm thinking that maybe lnurl can be used to transfer custom data somehow, but haven't explored that path yet.
Jump to: