RSK/Ethereum API using Simple JSON RPC, a web3 replacement
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
samples/simple
test
.gitignore
.npmignore
LICENSE
README.md
package-lock.json
package.json

README.md

RskApi

RSK API, accesing a running node using JSON RPC. It's a simple replacement to the usual web3 interface.

This is a personal project, not related with or endorsed by RSK.

Installation

Via npm on Node:

npm install rskapi

Usage

Create the RSK API Object by calling the host function.

var rskapi = require('rskapi');

var rsk = rskapi.host('http://host.to.node.com:PORT');

/** operations with the node **/

References

Samples

TBD

Versions

  • 0.0.1 Published
  • 0.0.2 Published, callTransaction
  • 0.0.3 Published, fix duration encoding in unlock account
  • 0.0.4 Published, using simplejsonrpc 0.0.3
  • 0.0.5 Published, sending second argument in getBalance
  • 0.0.6 Published, sending transaction normalized data
  • 0.0.7 Published, exposing JSON RPC provider
  • 0.0.8 Published, using simplejsonrpc 0.0.4 with https support
  • 0.0.9 Published, send raw transaction

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.