Comments (13)
This was exposed in index
from ln-service.
The credentials were split up so there is a new env variable needed to specify which chain you are using
https://github.com/alexbosworth/ln-service#configuring-environment-variables
from ln-service.
I know, I have configured that credentials, the issue is not allowed to use just indicate the path of my tls.cert, now is forced to enter the base64 string, previous versions let you do it in the two ways
from ln-service.
You can try service/local_lnd.js to retrieve the local LND via the path
from ln-service.
I did, I told you in the first post, did you read it?
from ln-service.
Maybe I didn't explained myself well, I added service/local_lnd.js
to the main index.js, then imported to connect through it, but I get that promisify error I wrote up there
from ln-service.
I don't know what the code looks like but it seems like the require isn't specified correctly then, try the full relative path to the file and no destructuring
from ln-service.
same thing
from ln-service.
I think it's because you're using promisify but this is not a callback function
from ln-service.
Can you paste your code here?
from ln-service.
#./index.js
....
const {updateRoutingFees} = require('./lightning');
const {verifyMessage} = require('./lightning');
const {localLnd} = require('./service'); <== added line
module.exports = {
localLnd, <== added line
addPeer,
closeChannel,
.....
# my connect.js
const { localLnd } = require('ln-service');
const lnd = localLnd({});
I had all LND_GRPC_PORT, LND_HOST, LNSERVICE_LND_DIR, LNSERVICE_CHAIN, LNSERVICE_NETWORK vars setted.
from ln-service.
I tried exposing it now in index.js
from ln-service.
@alexbosworth why this was closed?
from ln-service.
Related Issues (20)
- Subscribing to invoices - event does not trigger for hodl invoices HOT 2
- Is there a way to include metadata hash in createInvoice? HOT 7
- subscribeToInvoice method not working HOT 9
- Request: add tx id response to fundPendingChannels
- Can't connect to Lnd using gRPC HOT 4
- grpc-js throws "unable to get issuer certificate" error while connecting HOT 7
- Socket connection issue HOT 4
- Signet support HOT 1
- probeForRoute and getRouteToDestination fail when outgoing_channel is set HOT 2
- Can't pay invoices with more than one hop_hints HOT 46
- How can I monitor incoming payments? HOT 4
- Node Credentials HOT 1
- Creating invoice with big amount leads to invoice without an amount HOT 8
- Switch RPC middleware tests to use Docker testing framework
- Migrate setupChannel macros to use ln-docker-daemons
- Using lnService with Voltage nodes HOT 6
- CreateInvoice return no response HOT 1
- `payviapaymentrequest` default behavior is different than `lncli payinvoice` HOT 7
- Clarify and supplement invoice.is_confirmed given new final settle signal in LND HOT 7
- Failed HTLC Events HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ln-service.