@liquality/jsonrpc-provider
⚠️ 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 @liquality/jsonrpc-provider
or
<script src="https://cdn.jsdelivr.net/npm/@liquality/jsonrpc-provider@0.2.3/dist/jsonrpc-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/jsonrpc-provider@0.2.3/dist/jsonrpc-provider.min.js.map -->
<!-- available as window.JsonRpcProvider -->
Usage
import { JsonRpcProvider } from '@liquality/jsonrpc-provider'
const jsonrpc = new JsonRpcProvider('https://jsonrpc.com', 'username', 'password')
await jsonrpc.jsonrpc('sendtoaddress', 'xxx')