
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 stringI will then try to pay you (after checking the string) via:cli/lightning-cli pay stringI hope that works.EDIT: the example is for c-lightning and added an expiration time of 24 hours (86400 s) via /r/Bitcoin http://bit.ly/2EV4GQs
No comments :
Post a Comment