#lightning #lnurl #bitcoin #api-bindings

lnurlkit

All you need to support LNURL and nothing more

13 releases

0.1.12 Mar 19, 2024
0.1.11 Dec 27, 2023

#1720 in Magic Beans

Download history 115/week @ 2023-12-18 33/week @ 2023-12-25 65/week @ 2024-01-01 146/week @ 2024-01-08 171/week @ 2024-01-15 153/week @ 2024-01-22 91/week @ 2024-01-29 60/week @ 2024-02-05 18/week @ 2024-02-12 89/week @ 2024-02-19 131/week @ 2024-02-26 146/week @ 2024-03-04 150/week @ 2024-03-11 284/week @ 2024-03-18 65/week @ 2024-03-25 339/week @ 2024-04-01

845 downloads per month

GPL-3.0-only

185KB
2.5K SLoC

LNURL Kit ⚡🐱

badge

A ready-to-use¹ implementation of the LNURL specification.

This library works as a toolkit so you can serve and make your LNURL requests with ease.

¹ Soon to be. Currently it's still on early stages and should be considered experimental.

Current support

  • LUD-01: ✅ core ✅ client ✅ server ✅ tests
  • LUD-02: ✅ core ✅ client ✅ server ⚠️ tests
  • LUD-03: ✅ core ✅ client ✅ server ⚠️ tests
  • LUD-04: ⚠️ core ⚠️ client ⚠️ server ⚠️ tests
  • LUD-05: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-06: ✅ core ✅ client ✅ server ✅ tests
  • LUD-07: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-08: ✅ core ✅ client ✅ server ⚠️ tests
  • LUD-09: ✅ core ✅ client ✅ server ✅ tests
  • LUD-10: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-11: ✅ core ✅ client ✅ server ✅ tests
  • LUD-12: ✅ core ✅ client ✅ server ✅ tests
  • LUD-13: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-14: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-15: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-16: ✅ core ✅ client ✅ server ✅ tests
  • LUD-17: ✅ core ⚠️ client ⚠️ server ⚠️ tests
  • LUD-18: ✅ core ⚠️ client ⚠️ server ⚠️ tests
  • LUD-19: 🆘 core 🆘 client 🆘 server 🆘 tests
  • LUD-20: ✅ core ✅ client ✅ server ⚠️ tests
  • LUD-21 proposal: ✅ core ✅ client ✅ server ✅ tests
Soon. ™

Future work

  • Remove SOS signs from above list (by just working on it)
  • Add types helpers and all the stuff needed for the server side
  • Make it client agnostic (currently it uses reqwest)
  • Make it both sync and async (I want no part in this war)
  • Breaking it into client / structures (flexibility right)
  • Better, WAY better error handling. Geez
Thanks

Dependencies

~3–17MB
~240K SLoC