Registry / networking / lnrpc
library0.15.5rbrubygemsunverified

gRPC service definitions for the Lightning Network Daemon (lnd) gRPC interface packed as a Ruby gem.

gem install lnrpc
INSTALL
IMPORT
SIG · LNRPC
L
lnrpc
networkingrubyv0.15.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lnrpc
require 'lnrpc'

Connect to an lnd node and get node info.

require 'lnrpc' client = Lnrpc::Client.new(credentials_path: '/path/to/tls.cert', macaroon_path: '/path/to/admin.macaroon') info = client.get_info puts info.identity_pubkey
Debug
Known issues
gotchaRequires gRPC and protobuf gems to be installed.
fix
Add 'grpc' and 'google-protobuf' to your Gemfile.
affects: >= 0.15.0
Upgrade
Version history
0.15.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Resources
lnrpc — gem install lnrpc · libregistry