lightning
Version:
Lightning Network client library
20 lines (17 loc) • 433 B
TypeScript
export type LndAuthentication = {
/** Base64 or Hex Serialized LND TLS Cert String */
cert?: string;
/** Path to proto files */
path?: string;
/** Host:Port String */
socket?: string;
};
export type UnauthenticatedLnd = {
unlocker: any;
};
/**
* Unauthenticated gRPC interface to the Lightning Network Daemon (lnd).
*/
export function unauthenticatedLndGrpc(
auth: LndAuthentication
): {lnd: UnauthenticatedLnd};