stacker.news/api/lnd/index.js

10 lines
211 B
JavaScript
Raw Normal View History

2021-04-29 21:58:43 +00:00
import lndService from 'ln-service'
const { lnd } = lndService.authenticatedLndGrpc({
cert: process.env.LND_CERT,
macaroon: process.env.LND_MACAROON,
socket: process.env.LND_SOCKET
})
2021-04-29 21:58:43 +00:00
export default lnd