Last active
April 25, 2018 03:25
-
-
Save nolim1t/de5ad6e1883911ecaa9b290ffb440334 to your computer and use it in GitHub Desktop.
Creating Lightning Invoices by CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"payment_hash": "7c36d743c39d626b4202b694585763ec6e114f8174582c10f2d2bd6aeb683fa6", | |
"expiry_time": 1524799298, | |
"expires_at": 1524799298, | |
"bolt11": "lntb10p1pddlazzpp50smdws7rn43xksszk629s4mra3hpznupw3vzcy8j627k46mg87nqdp0d9h8vv3jyqczuvpsxys8xct5daeks6tnypek6ctvd3jhxaqxqy9gcqcqp22ah52w0xdem5t8s8dy8efr5lkd6e75ru7mp3vrygzyqx684qq6yz7nehxsvm98pwpadggr6eyd8txswuc4u86xsxlja7l480kt8pvqcp4eafcs" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1500.5 satoshis (mSatoshis = satoshis * 1000) | |
cli/lightning-cli invoice 1500500 invoice-number "invoice-number esting Test Testing" 172800 | |
# 2.5 satoshis (not even 1 cent) | |
cli/lightning-cli invoice 2510 invoice-number "2.51 satoshis" 172800 | |
# smallest | |
cli/lightning-cli invoice 1 invoice-number "invoice-number 0.001 satoshis smallest" 172800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment