Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doitian/lnd-grpc-tonic-client
Rust lnd client using tonic and tonic-openssl.
https://github.com/doitian/lnd-grpc-tonic-client
grpc lightning-network lnd rust
Last synced: about 1 month ago
JSON representation
Rust lnd client using tonic and tonic-openssl.
- Host: GitHub
- URL: https://github.com/doitian/lnd-grpc-tonic-client
- Owner: doitian
- License: mit
- Created: 2024-04-10T01:34:34.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-14T08:34:27.000Z (5 months ago)
- Last Synced: 2024-09-15T22:11:52.121Z (2 months ago)
- Topics: grpc, lightning-network, lnd, rust
- Language: Rust
- Homepage:
- Size: 160 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lnd-grpc-tonic-client
Rust [lnd] client using [tonic] and [tonic-openssl].
[lnd]: https://github.com/lightningnetwork/lnd
[tonic]: https://github.com/hyperium/tonic
[tonic-openssl]: https://github.com/LucioFranco/tonic-opensslLnd requires TLS certificate to secure the communication and Macaroon for authorization (see [details](https://docs.lightning.engineering/lapps/guides/add-features/connect-to-lnd)). Lnd auto-generates a self-signed TLS certificate, however, tonic does not work well with self-signed certificate.
This crate is based on [this suggestion](https://github.com/hyperium/tonic/issues/459#issuecomment-696793643) and [this example](https://github.com/LucioFranco/tonic-openssl/blob/master/example/src/client2.rs).
Proto files are copied from lnd repository and the generated files can be found in the src directory.
See examples in the examples directory.