New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@sedracoin/grpc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sedracoin/grpc

Node gRPC interface for Sedra

latest
npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source

Sedra gRPC interface

Sedra gRPC module is a basic request/response wrapper for interfacing with Sedrad

Usage

Clone the following repository:

$ git clone https://github.com/sedracoin/sedra-grpc

Example

const { Client } = require('@sedracoin/grpc');

const client = new Client({
    host:"127.0.0.1:22210"
});
client.connect();
client.verbose = true;

try {
    let response = await client.call('getMempoolEntriesRequest', { });
    console.log(response);
} catch(ex) {
    ...
}

client.call('getVirtualSelectedParentBlueScoreRequest', { }).then((response)=>{
    console.log(response);
}).catch((err)=>{
    console.log('error:',err);
})

FAQs

Package last updated on 19 Feb 2024

Did you know?

Socket

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.

Install

Related posts