0.3.0 • Published 2 years ago
@hyperbitjs/rpc v0.3.0

Hyperbit - RPC
Simple Rpc Client for making requests to blockchain nodes.
Getting Started
# Using npm
npm install @hyperbitjs/rpc
# Using yarn
yarn add @hyperbitjs/rpcUsage
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);
});