Socket
Socket
Sign inDemoInstall

dashrpc

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashrpc - npm Package Compare versions

Comparing version 19.0.0 to 19.0.1

2

package.json
{
"name": "dashrpc",
"version": "19.0.0",
"version": "19.0.1",
"description": "Lightweight JavaScript SDK Dash RPC, made Browser, Node.js, & Bundler compatible",

@@ -5,0 +5,0 @@ "main": "promise.js",

@@ -47,2 +47,5 @@ # [DashRPC.js](https://github.com/dashhive/DashRPC.js)

port: 19998,
onconnected: function () {
console.info('[dashrpc] connected to `${config.host:config.port}`');
},
};

@@ -56,2 +59,5 @@ ```

async function main() {
let height = await rpc.init({ retry: 5000 });
console.info(`[dashrpc] best block height is ${height}`);
let rawMempool = await rpc.getRawMemPool();

@@ -58,0 +64,0 @@ for (let result of rawMempool.result) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc