ajlopez / SimpleJsonRpc

Simple JSON RPC client in JavaScript/NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleJsonRpc

Simple JSON RPC client in JavaScript/NodeJS

Installation

Via npm on Node:

npm install simplejsonrpc

Usage

TBD

References

TBD

Samples

TBD

Versions

  • 0.0.1: Initial version
  • 0.0.2: Using string address to create http provider
  • 0.0.3: Sending application/json as content type
  • 0.0.4: Support https as transport protocol
  • 0.0.5: Send raw transaction
  • 0.0.6: Support await/async
  • 0.0.7: Log outgoing and incoming message

References

About test using https

The files test/private.key and test/private.crt were generated with

openssl req -newkey rsa:2048 -nodes -keyout private.key -x509 -days 3650 -out private.crt

Contribution

Feel free to file issues and submit pull requests — contributions are welcome.

If you submit a pull request, please be sure to add or update corresponding test cases, and ensure that npm test continues to pass.

About

Simple JSON RPC client in JavaScript/NodeJS

License:Other


Languages

Language:JavaScript 100.0%