├── .gitignore
├── LICENSE
├── README.md
├── favicon.ico
├── img
├── bitcoinLogo.png
└── lnurlqr.jpg
├── index.html
└── js
├── decoder.js
├── pageupdate.js
└── utils.js
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # IntelliJ project files
3 | .idea
4 | *.iml
5 | out
6 | gen
7 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Jeff Trimmer
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # lndecoder
2 |
3 | For decoding lightning network payment requests as defined in [BOLT #11](https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md).
4 |
5 | Go to https://lndecode.com/, enter a Lightning Payment Request string into the text box.
6 |
7 | Example request string:
8 | ```
9 | lnbc2500u1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdq5xysxxatsyp3k7enxv4jsxqzpuaztrnwngzn3kdzw5hydlzf03qdgm2hdq27cqv3agm2awhz5se903vruatfhq77w3ls4evs3ch9zw97j25emudupq63nyw24cg27h2rspfj9srp
10 | ```
11 |
12 | Or you can add the request string to the URL as a parameter.
13 |
14 | Example:
15 |
16 | https://lndecode.com/?invoice=lnbc2500u1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdq5xysxxatsyp3k7enxv4jsxqzpuaztrnwngzn3kdzw5hydlzf03qdgm2hdq27cqv3agm2awhz5se903vruatfhq77w3ls4evs3ch9zw97j25emudupq63nyw24cg27h2rspfj9srp
17 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Xtrimmer/lndecode/955f45b2154e91418d747973480c30e3531fb22d/favicon.ico
--------------------------------------------------------------------------------
/img/bitcoinLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Xtrimmer/lndecode/955f45b2154e91418d747973480c30e3531fb22d/img/bitcoinLogo.png
--------------------------------------------------------------------------------
/img/lnurlqr.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Xtrimmer/lndecode/955f45b2154e91418d747973480c30e3531fb22d/img/lnurlqr.jpg
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
If you think this little decoder is useful to you, then it's a good reason to do a donation.
61 | Your gratitude and financial help will motivate us to continue project development.
62 |
You can make a donation using the LNURL provided below.
63 |
64 |
66 |
⚡ ln Address: lndecode@zeuspay.com ⚡
67 |
68 |
Alternatively, you can open a channel with my node using the node address provided.