ChangeTip is back via the Lightning Network!

247 Bitcoin

Bitcoin News Search

1 News - 247 News - 247 Bitcoin - 1 Search


I would like to send 0.5 dollar to someone over the Lightning Network (LN). I'm connected to a Blockstream node. The first one who is currently on the LN and makes a LN invoice with the description "sumBTC 0.5 dollar TIP", I will try to send a tip. You can make an invoice via bash like this:

cli/lightning-cli invoice msatoshis label description 86400 | jq -r '.bolt11'

This will create a large string that starts with ln (that you can post here as a comment). You can check the string via:

cli/lightning-cli decodepay string

I will then try to pay you (after checking the string) via:

cli/lightning-cli pay string

I hope that works.

EDIT: the example is for c-lightning and added an expiration time of 24 hours (86400 s)

submitted by /u/sumBTC
[link] [comments]

247 Bitcoin

Bitcoin News Search

1 News - 247 News - 247 Bitcoin - 1 Search


Leave a Reply