Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperbit-dev/rpc
Rpc Client for making requests to blockchain nodes
https://github.com/hyperbit-dev/rpc
remote-procedure-call rpc
Last synced: about 1 month ago
JSON representation
Rpc Client for making requests to blockchain nodes
- Host: GitHub
- URL: https://github.com/hyperbit-dev/rpc
- Owner: hyperbit-dev
- License: mit
- Created: 2023-01-19T04:52:41.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-01T18:20:55.000Z (about 1 year ago)
- Last Synced: 2024-12-06T01:35:00.257Z (about 2 months ago)
- Topics: remote-procedure-call, rpc
- Language: TypeScript
- Homepage: https://hyperbit.app
- Size: 161 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Hyperbit Chains Banner](https://github.com/hyperbit-dev/rpc/raw/master/media/repo-banner.png)
# Hyperbit - RPC
Simple Rpc Client for making requests to blockchain nodes.
## Getting Started
```sh
# Using npm
npm install @hyperbitjs/rpc# Using yarn
yarn add @hyperbitjs/rpc
```### Usage
```javascript
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);
});
```