Skip to content

hyperbit-dev/rpc

Repository files navigation

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);
});

About

Rpc Client for making requests to blockchain nodes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published