@hashprotocol/node-provider
TypeScript icon, indicating that this package has built-in type declarations

1.13.13 • Public • Published

@hashprotocol/node-provider

Build Status Coverage Status Standard Code Style MIT License @hashprotocol/node-provider Gitter Telegram Greenkeeper badge

⚠️ This project is under heavy development. Expect bugs & breaking changes.

📝 Introductory Blog Post: The Missing Tool to Cross-Chain Development

Query different blockchains with account management using a single and simple interface.

Installation

npm i @hashprotocol/node-provider

or

<script src="https://cdn.jsdelivr.net/npm/@hashprotocol/node-provider@0.2.3/dist/node-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@hashprotocol/node-provider@0.2.3/dist/node-provider.min.js.map -->
<!-- available as window.JsonRpcProvider -->

Usage

import { JsonRpcProvider } from '@hashprotocol/node-provider'

const jsonrpc = new JsonRpcProvider('https://jsonrpc.com', 'username', 'password')

await jsonrpc.jsonrpc('sendtoaddress', 'xxx')

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @hashprotocol/node-provider

Weekly Downloads

1

Version

1.13.13

License

MIT

Unpacked Size

13 kB

Total Files

9

Last publish

Collaborators

  • hashbridge