In an attempt to make Bitshares/Graphene development more accessible for JavaScript developers, I've extracted the api and crypto libraries from the graphene-ui repo into a separate package. This package will allow anyone to easily connect to and interact with the Bitshares blockchain through either a public or local API server.
All the transaction creation/signing code used by graphene-ui is included, which means you can easily create a trading bot in node.js for example using this library. That bot would only need access to a private key and an api server, no cli_wallet required. This library should also make it very easy to implement alternative front-ends for Bitshares.
The library is available through NPM using
npm install graphenejs-lib
.
The open source code is available here, this repo also includes some basic examples:
https://github.com/svk31/graphenejs-libI intend to expand on the examples, so if there's anything you'd like to see an example for let me know.