Conectarse a un nodo Lightning de forma remota

Resumen de formatos de conexión remota

LND
prefix
d
server
d
auth
d
tls
d

lndconnect

lndconnect://

grpc_host:10009

?

macaroon=base64_macaroon

&

cert=base64_cert

BoS

{

"socket": "grpc_host:10009"

,

"macaroon": "base64_macaroon"

,

"cert": "base64_cert"

}

BTCPay

type=lnd-rest

;

;

macaroon=hex_macaroon

;

certthumbprint=hex_cert

C-lightning
prefix
d
server
d
auth
d
tls

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/

BTCPay Charge

type=clightning

;

;

api-token=myapitoken...

C-lightning REST

rest_host

?

hex_macaroon

Eclair
prefix
d
server
d
auth
d
tls

BTCPay

type=eclair

;

;

password=eclairpassword...

LND

RPC

LNDconnect

Balance of Satoshis

https://github.com/alexbosworth/balanceofsatoshis#saved-nodesarrow-up-right

  • guardado en

  • con valores base64

  • con path

BTCPayserver

  • LND a través de proxy REST:

  • macaroon

  • certthumbprint:

  • optional:

C-lightning

Spark Wallet

https://github.com/shesek/spark-walletarrow-up-right

Sparko

https://github.com/fiatjaf/sparkoarrow-up-right Actualmente solo funciona con un certificado firmado por una CA. Ver: https://github.com/shesek/spark-wallet/blob/master/doc/tls.md#add-as-trusted-certificate-to-androidarrow-up-right

  • Simplemente:

    El accessKey tiene permisos parecidos a macaroon

C-lightning REST (con Zeus)

https://github.com/Ride-The-Lightning/c-lightning-REST/arrow-up-right

  • Aún no hay estándar, pero necesita:

  • generar el hex_macaroon:

BTCPayserver

  • c-lightning a través TCP o una conexión unix domain socket:

  • Lightning carga a través de HTTPS:

Eclair

BTCPayServer

  • Eclair a través de HTTPS:

Notas

Last updated