Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
eclair-node-rpc
Advanced tools
Connecting to eclair LN node. Based Shlomi Zeltsinger <shlomi.zeltsinger@gmail.com> fork of Bitpay's bitcoind-rpc
A client library to connect to eclair RPC in JavaScript. Forked of Bitpay's bitcoind-rpc.
eclair-rpc.js runs on node, and can be installed via npm:
npm install eclair-rpc
Install eclair and make sure eclair API is running and reachable. Example .eclair/eclair.conf
file might look like:
eclair.chain=testnet
eclair.node-alias=testone
eclair.node-color=49daaa
eclair.bitcoind.rpcport=18333
eclair.bitcoind.rpcuser=bitcoind_username
eclair.bitcoind.rpcpassword=bitcoind_password
eclair.api.enabled=true
eclair.api.password="eclair_password"
eclair.api.binding-ip="0.0.0.0"
var run = function() {
var EclairClient = require('eclair-rpc');
var config = {
protocol: 'http',
pass: 'password',
host: '127.0.0.1',
port: '8080',
};
var rpc = new EclairClient(config);
var txids = [];
function getNodeInfo() {
rpc.getinfo(function(err, res){
if (err) {
console.error(err);
}
console.log(res);
});
}
getNodeInfo();
};
RpcClient.callspec = {
allnodes: '',
channels: '',
checkinvoice: 'str',
close: 'str',
connect: 'str str int',
getinfo: '',
open: 'str int',
receive: 'int str',
send: 'str',
};
Code released under the MIT license.
FAQs
Connecting to eclair LN node. Based Shlomi Zeltsinger <shlomi.zeltsinger@gmail.com> fork of Bitpay's bitcoind-rpc
The npm package eclair-node-rpc receives a total of 3 weekly downloads. As such, eclair-node-rpc popularity was classified as not popular.
We found that eclair-node-rpc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.