Gathering detailed insights and metrics for ravencoind-rpc
Gathering detailed insights and metrics for ravencoind-rpc
Gathering detailed insights and metrics for ravencoind-rpc
Gathering detailed insights and metrics for ravencoind-rpc
Ravencoin Client Library to connect to Ravencoin Core via RPC
npm install ravencoind-rpc
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Commits
2 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Jan 29, 2021
Latest Version
1.0.0
Package Id
ravencoind-rpc@1.0.0
Unpacked Size
25.89 kB
Size
6.28 kB
File Count
8
NPM Version
6.5.0
Node Version
9.10.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A client library to connect to Ravencoin Core RPC in JavaScript.
ravencoind-rpc.js runs on node, and can be installed via npm:
1npm install ravencoind-rpc
1var run = function() { 2 var ravencore = require('ravencore'); 3 var RpcClient = require('ravencoind-rpc'); 4 5 var config = { 6 protocol: 'http', 7 user: 'user', 8 pass: 'pass', 9 host: '127.0.0.1', 10 port: '18766', 11 }; 12 13 // config can also be an url, e.g.: 14 // var config = 'http://user:pass@127.0.0.1:18766'; 15 16 var rpc = new RpcClient(config); 17 18 var txids = []; 19 20 function showNewTransactions() { 21 rpc.getRawMemPool(function (err, ret) { 22 if (err) { 23 console.error(err); 24 return setTimeout(showNewTransactions, 10000); 25 } 26 27 function batchCall() { 28 ret.result.forEach(function (txid) { 29 if (txids.indexOf(txid) === -1) { 30 rpc.getRawTransaction(txid); 31 } 32 }); 33 } 34 35 rpc.batch(batchCall, function(err, rawtxs) { 36 if (err) { 37 console.error(err); 38 return setTimeout(showNewTransactions, 10000); 39 } 40 41 rawtxs.map(function (rawtx) { 42 var tx = new bitcore.Transaction(rawtx.result); 43 console.log('\n\n\n' + tx.id + ':', tx.toObject()); 44 }); 45 46 txids = ret.result; 47 setTimeout(showNewTransactions, 2500); 48 }); 49 }); 50 } 51 52 showNewTransactions(); 53};
Code released under the MIT license.
Copyright 2018 MSFTserver
Copyright 2013-2018 BitPay, Inc.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/2 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More