Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dni/lnurlcln
Core Lightning - LNURL Plugin
https://github.com/dni/lnurlcln
Last synced: 9 days ago
JSON representation
Core Lightning - LNURL Plugin
- Host: GitHub
- URL: https://github.com/dni/lnurlcln
- Owner: dni
- Created: 2024-05-14T20:26:22.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-14T20:29:50.000Z (6 months ago)
- Last Synced: 2024-05-15T16:46:22.531Z (6 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Corelightning LNURL plugin
Support for LNURL Decoding, Paylinks, Withdraw and Auth## corelightning commands
```console
=== lnurl ===lnurl-decode [lnurl]
Decode a LNURL and return the resultlnurl-handle [lnurl]
Decode a LNURL and return the LnurlResponselnurl-execute [lnurl] [value]
LNURL execute a commandlnurl-auth [lnurl] [secret]
LNURL Authlnurl-pay [lnurl] [amount_msat]
LNURL Paylnurl-withdraw [lnurl] [bolt11]
LNURL Withdraw
```## requirements
corelightning, python3.10 and poetry## install
```console
git clone [email protected]:dni/lnurlcln.git
cd lnurlcln
poetry install
```## run
```console
lightning-cli plugin start $(poetry env info --path)/bin/lnurlcln
lightning-cli plugin stop $(poetry env info --path)/bin/lnurlcln
```### dev
watch the logs if your node
```console
docker logs -f regtest-clightning-1-1
```
watch for changes and restart the plugin inside the regtest
```console
find lnurlcln/*.py | entr -s "./dev.sh regtest-clightning-1-1"
```