#lnd #tonic #grpc #macaroon #detail #generated #tonic-openssl

lnd-grpc-tonic-client

Rust lnd client using tonic and tonic-openssl

2 unstable releases

0.2.0 Apr 12, 2024
0.1.0 Apr 10, 2024

#537 in Cryptography

Download history 119/week @ 2024-04-07

119 downloads per month

Custom license

410KB
6K SLoC

lnd-grpc-tonic-client

Rust lnd client using tonic and tonic-openssl.

Lnd requires TLS certificate to secure the communication and Macaroon for authorization (see details). 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 and this example.

Proto files are copied from lnd repository and the generated files can be found in the src directory.

See examples in the examples directory.

Dependencies

~8–16MB
~187K SLoC