type-safe jsonrpc client for Bitcoin and Ethereum


Keywords
jsonrpc, bitcoin, ethereum, usdt, crypto-coin, json-rpc-client, typescript
License
MIT
Install
npm install wallet-rpc@6.1.2

Documentation

wallet-rpc Build Status

Type-safe jsonrpc client for Bitcoin and Ethereum.

Supports

Blockchain clients

  • Bitcoin(^BitcoinCore 0.16+)
  • TetherUSDT(^OmniLayer0.3.0+)
  • Geth(^1.8.0)
  • Parity(^1.0.0)

eosrpc has been splited to islishude/eosrpc

Enviorment

Node.js only, requie >=10.4.0 and v12 is recommend.

Install

npm install wallet-rpc --save

REPL

NPX

npx wallet-rpc

Run npx -n --experimental-repl-await wallet-rpc to enable top-level-await.

Docker

docker run -it --rm islishude/wallet-rpc

Supports top-level-await by default.

Example