0.0.5 • Published 5 years ago

omnicore-rpc-client v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

omnicore-rpc-client

Rpc client for omnicore wallet

Notice: this library only works when your babel is using babel-plugin-transform-object-rest-spread

Usage

First install the lib with npm npm i omnicore-rpc-client or yarn yarn add omnicore-rpc-client

Then import the lib and create a RPC client

import OmniRpcClient from 'omnicore-rpc-client/commonjs'
// const OmniRpcClient = require('omnicore-rpc-client/commonjs')


const Client = new OmniRpcClient({
  "host": "yourhost",
  "network": "testnet", // mainnet testnet regtest
  "port": "8332",
  "username": "yourRpcUsername",
  "password": "yourRpcPassword"
})
0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago