@hyperbitjs/rpc
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Hyperbit Chains Banner

Hyperbit - RPC

Simple Rpc Client for making requests to blockchain nodes.

Getting Started

# Using npm
npm install @hyperbitjs/rpc

# Using yarn
yarn add @hyperbitjs/rpc

Usage

import { Client } from '@hyperbitjs/rpc';

const client = new Client({
  url: 'http://127.0.0.1:9050',
  username: 'username',
  password: 'password',
});

client.request('getchaintips').then(response => {
  console.log('response', response);
});

Readme

Keywords

none

Package Sidebar

Install

npm i @hyperbitjs/rpc

Weekly Downloads

8

Version

0.3.0

License

MIT

Unpacked Size

37 kB

Total Files

14

Last publish

Collaborators

  • mmcshinsky