Bitcoin Forum
May 03, 2024, 03:22:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is keysend the best way to transfer custom data between peers with lightning?  (Read 60 times)
nullama (OP)
Hero Member
*****
Offline Offline

Activity: 980
Merit: 956



View Profile
February 04, 2022, 04:49:19 AM
Merited by pooya87 (2), ABCbits (2), dkbit98 (1)
 #1

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.

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
1714706559
Hero Member
*
Offline Offline

Posts: 1714706559

View Profile Personal Message (Offline)

Ignore
1714706559
Reply with quote  #2

1714706559
Report to moderator
1714706559
Hero Member
*
Offline Offline

Posts: 1714706559

View Profile Personal Message (Offline)

Ignore
1714706559
Reply with quote  #2

1714706559
Report to moderator
1714706559
Hero Member
*
Offline Offline

Posts: 1714706559

View Profile Personal Message (Offline)

Ignore
1714706559
Reply with quote  #2

1714706559
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714706559
Hero Member
*
Offline Offline

Posts: 1714706559

View Profile Personal Message (Offline)

Ignore
1714706559
Reply with quote  #2

1714706559
Report to moderator
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7452


Crypto Swap Exchange


View Profile
February 04, 2022, 11:16:43 AM
Merited by pooya87 (2)
 #2

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!