Bitcoin Forum
April 23, 2024, 11:07:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anyone got a lightning address?  (Read 257 times)
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
February 03, 2019, 12:55:57 AM
 #1

I've preloaded a channel but before I can use it I have to spend a certain tiny number of Satoshi. My issue is that I don't know the format of these addresses so I can't exactly burn it and I doubt I can send it to myself...
1713913626
Hero Member
*
Offline Offline

Posts: 1713913626

View Profile Personal Message (Offline)

Ignore
1713913626
Reply with quote  #2

1713913626
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10495



View Profile
February 03, 2019, 04:34:29 AM
Merited by dbshck (2)
 #2

My issue is that I don't know the format of these addresses

they are not exactly addresses, they are invoices and they are encoded using Bech32 encoding with the HRP=lnbc and they include a lot of other thins such as timestamp, payment info,.... it looks like this (this is an example, don't send anything here!):

Code:
lnbc1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpl2pkx2ctnv5sxxmmwwd5kgetjypeh2ursdae8g6twvus8g6rfwvs8qun0dfjkxaq8rkx3yf5tcsyz3d73gafnh3cax9rn449d9p5uxz9ezhhypd0elx87sjle52x86fux2ypatgddc6k63n7erqz25le42c4u4ecky03ylcqca784w

read more about it here: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
KingZee
Sr. Member
****
Offline Offline

Activity: 910
Merit: 452


Check your coin privilege


View Profile
February 03, 2019, 06:08:03 AM
 #3

My issue is that I don't know the format of these addresses

they are not exactly addresses, they are invoices and they are encoded using Bech32 encoding with the HRP=lnbc and they include a lot of other thins such as timestamp, payment info,.... it looks like this (this is an example, don't send anything here!):

Code:
lnbc1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpl2pkx2ctnv5sxxmmwwd5kgetjypeh2ursdae8g6twvus8g6rfwvs8qun0dfjkxaq8rkx3yf5tcsyz3d73gafnh3cax9rn449d9p5uxz9ezhhypd0elx87sjle52x86fux2ypatgddc6k63n7erqz25le42c4u4ecky03ylcqca784w

read more about it here: https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md

To elaborate on the thought, and explain it more to pooya, Lightning doesn't just offer the ability to create an invoice. You need to think more of a usecase that involves a LOT of transactions. It doesn't have to be, but that's the optimal way to work with the lightning network.

It works mainly with payment channels, where both you and the other party of the channel, commit a bunch of funds to the channel. For example you commit 1 BTC, and i commit 0. We can then both exchange this 1 btc as fast as lightning, with hundreds and thousands of transactions per second, not transactions, but "invoices".

Once you feel that there is no longer the need to keep sending or receiving money with me, we can both close the channel, with whatever we both agree was the final transaction.

For OP, you need another lightning node, not just an address. You could hypothetically open a private channel with another node of your own, and exchange as many funds as you'd like to commit.

Beep boop beep boop
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
February 03, 2019, 09:09:01 AM
Merited by dbshck (4), LoyceV (2), pooya87 (1)
 #4

Lightningnetworkstores.com will help you to find a website where you will be able to spend a few satoshis. Check out Yalls, you might find some interesting information there if you pay a small fee via the Lightning Network, of course.

It is also worth to mention that a new draft 'Sphinx' has been published. If both nodes upgrade then it is possible for them to transact with each other without having to generate an invoice. As @pooya87 pointed out, the invoice contains a lot of important information so how does Sphinx work? Detailed explanation can be found here. Sphinx won't be included in the official release anytime soon but using the Lightning Network will become more convenient in the near future.
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
February 06, 2019, 01:30:43 AM
 #5

@bitcryptex thanks for the link, lightning roulette was fun!

It's really slick if anyone is looking to test out a lightning transaction, from 1 Satoshi...
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!