Connecting to a lightning node remotely
Remote connection formats summary table
lndconnect
lndconnect://
grpc_host:10009
?
macaroon=base64_macaroon
&
cert=base64_cert
BoS
{
"socket": "grpc_host:10009"
,
"macaroon": "base64_macaroon"
,
"cert": "base64_cert"
}
Spark Wallet / Sparko
spark_rpc_host
?
access-key=accessKey
BTCPay unix socket
type=clightning
;
server=unix://home/user/.lightning/lightning-rpc
BTCPay TCP
type=clightning
;
server=tcp://tcp_host:27743/
C-lightning REST
rest_host
?
hex_macaroon
LND
RPC
lncli
LNDconnect
Balance of Satoshis
https://github.com/alexbosworth/balanceofsatoshis#saved-nodes
stored in
with base64 values
with path
BTCPayserver
LND via the REST proxy:
macaroon
certthumbprint:
optional:
C-lightning
Spark Wallet
https://github.com/shesek/spark-wallet
Sparko
https://github.com/fiatjaf/sparko Currently only works with a CA signed certificate. See: https://github.com/shesek/spark-wallet/blob/master/doc/tls.md#add-as-trusted-certificate-to-android
Simply:
the
accessKey
has macaroon-like permissions
C-lightning REST (with Zeus)
https://github.com/Ride-The-Lightning/c-lightning-REST/
No standard yet, but needs:
generate the
hex_macaroon
:
BTCPayserver
c-lightning via TCP or unix domain socket connection:
Lightning Charge via HTTPS:
Eclair
BTCPayServer
Eclair via HTTPS:
Notes
common dependencies
generate a QRcode in the terminal (press
CTRL
+-
to reduce the size)base64_macaroon
hex_macaroon:
base64_cert
certthumbprint:
inspect a
tls.cert
display a Tor Hidden Service more at: https://openoms.github.io/bitcoin-tutorials/tor_hidden_service_example.html
Last updated