Bitcoin Forum
October 04, 2022, 01:39:26 PM *
News: Latest Bitcoin Core release: 23.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 55 times)
nullama (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 615



View Profile
February 04, 2022, 04:49:19 AM
Merited by pooya87 (2), ETFbitcoin (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.

███████████████████████████████▀▀▀▀
███████████████████████████████
█████████▀▀▀▀▀█▀█▀▀▀▀▀█████████
███▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████▀▀▀████▌ ▐████▀▀▀███████
█████▀███▀█▀██▌ ▐██▀█▀███▀█████
███████▀▄▀▄███▌ ▐███▄▀▄▀███████
█████▄██▄██▄██   ██▄██▄██▄█████
███████▄▄▄████   ████▄▄▄███████
██████████▀▀▀▀   ▀▀▀▀██████████
██████████▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
TRUST DICE
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
█▀▀▀











█▄▄▄
#1 RATEDCRYPTO CASINO
WORLDWIDE
4.7/5 on ★Trustpilot 1000+ user reviews
▀▀▀█











▄▄▄█
▀       ▄    ▄██▀██▄       ▄
     ▄      ███ ▄▄███ ▀
 ▀          ███▀▀ ███          ▄
  ▄██▀██▄    ▀██▄██▀ ▄  ▄██▀██▄
 ███ ▄▄███    ▄        ███ ▄▄██
 ███▀▀ ███ ▀    █ ▀  ▀ ███▀▀ ██
  ▀██▄██▀    ▀▄ █ ▄▀    ▀██▄██▀ ▄
 ▀            ▀ ▀ ▀
  ▄██████████████████████████▄
▄██████
███████████████████████▄
   ██████████████████████████
   ██████████████████████████
   ██████████████████████████
█▀▀▀











█▄▄▄
.
UP TO 20% CASHBACK
INSTANT PAYOUTS
INSANE BONUSES
24/7 SUPPORT
▀▀▀█











▄▄▄█
1664890766
Hero Member
*
Offline Offline

Posts: 1664890766

View Profile Personal Message (Offline)

Ignore
1664890766
Reply with quote  #2

1664890766
Report to moderator
1664890766
Hero Member
*
Offline Offline

Posts: 1664890766

View Profile Personal Message (Offline)

Ignore
1664890766
Reply with quote  #2

1664890766
Report to moderator
1664890766
Hero Member
*
Offline Offline

Posts: 1664890766

View Profile Personal Message (Offline)

Ignore
1664890766
Reply with quote  #2

1664890766
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1664890766
Hero Member
*
Offline Offline

Posts: 1664890766

View Profile Personal Message (Offline)

Ignore
1664890766
Reply with quote  #2

1664890766
Report to moderator
ETFbitcoin
Legendary
*
Offline Offline

Activity: 2282
Merit: 4998


Defend Bitcoin and its PoW: bitcoincleanup.com


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.

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!