Bitcoin Forum
May 26, 2019, 02:40:56 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anyone got a lightning address?  (Read 135 times)
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 1386
Merit: 1251


https://bit.ly/2FR9nyn - free python tutorials


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...

1558881656
Hero Member
*
Offline Offline

Posts: 1558881656

View Profile Personal Message (Offline)

Ignore
1558881656
Reply with quote  #2

1558881656
Report to moderator
1558881656
Hero Member
*
Offline Offline

Posts: 1558881656

View Profile Personal Message (Offline)

Ignore
1558881656
Reply with quote  #2

1558881656
Report to moderator
1558881656
Hero Member
*
Offline Offline

Posts: 1558881656

View Profile Personal Message (Offline)

Ignore
1558881656
Reply with quote  #2

1558881656
Report to moderator
PLAY OVER 3000 GAMES
LIGHTNING FAST WITHDRAWALS
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1558881656
Hero Member
*
Offline Offline

Posts: 1558881656

View Profile Personal Message (Offline)

Ignore
1558881656
Reply with quote  #2

1558881656
Report to moderator
1558881656
Hero Member
*
Offline Offline

Posts: 1558881656

View Profile Personal Message (Offline)

Ignore
1558881656
Reply with quote  #2

1558881656
Report to moderator
1558881656
Hero Member
*
Offline Offline

Posts: 1558881656

View Profile Personal Message (Offline)

Ignore
1558881656
Reply with quote  #2

1558881656
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 1652
Merit: 1652



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

KingZee
Sr. Member
****
Offline Offline

Activity: 574
Merit: 413


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.

BitCryptex
Hero Member
*****
Offline Offline

Activity: 588
Merit: 719


Write @BitCryptex or quote my post to notify me


View Profile WWW
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
Copper Member
Legendary
*
Offline Offline

Activity: 1386
Merit: 1251


https://bit.ly/2FR9nyn - free python tutorials


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!