Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rbndg/c-lightning-events
Subscribe to C-Lightning events with websocket
https://github.com/rbndg/c-lightning-events
Last synced: 14 days ago
JSON representation
Subscribe to C-Lightning events with websocket
- Host: GitHub
- URL: https://github.com/rbndg/c-lightning-events
- Owner: rbndg
- License: gpl-3.0
- Created: 2020-01-29T02:10:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T07:30:32.000Z (4 months ago)
- Last Synced: 2024-10-10T17:43:54.196Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C-Lightning Web Socket Events
Subscribe to C-Lightning events with websocket
### How to run
1) git clone this repo
2) `npm install .`
3) `chmod +x webseock-events.js`
4) Update C-lightinng config with the following:
```
plugin=/path/to/websocket-events.js
websocket-events=all // Comma seperated list of event types you want broadcasted
websocket-port=8080 //Websocket port
```#### Further Reading
[List of Core-Lightning events](https://docs.corelightning.org/docs/event-notifications)