mirror of
https://github.com/aljazceru/lspd.git
synced 2026-01-05 23:24:21 +01:00
64c18c879becb4f4482a4e4f5e6228c918ba4be7
lspd simple server
This is a simple example of an lspd server that works with an lnd node.
This server exposes LSP services to the Breez client.
Installation
- git clone https://github.com/breez/lspd (or fork)
- Modify the code in server.go if you use different values than the default when opening channels
- Compile lspd using
go build . - Define the environment variables as described in sample.env
- Run lspd
- Share with Breez the TOKEN and the LISTEN_ADDRESS you defined
Implement your own server
The grpc methods are described in https://github.com/breez/lspd/blob/master/rpc/lspd.md
Languages
Go
97.5%
Shell
2.4%
Makefile
0.1%