Package Exports
- swtc-lib
- swtc-lib/src/wswrapper.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (swtc-lib) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
The SWTC JavaScript Library
SWTC heavily adjust and repackage jingtum-lib and jcc_jingtum_lib and ripple-*-libs, but made it modular and friendly for developer
- keep the same interface as jingtum-lib or jcc_jingtum_lib, pass all related tests
- native node.js supporting LTS version including Boron-8, Carbon-10 and Dubnium-12
- web applications with zero effort webpack support
- nativescript mobile app support (use swtc-lib@nativescript)
Getting swtc-lib
Via npm for Node.js
$ npm install swtc-lib // node.js and web app
$ npm install swtc-lib@jcc // if you wish to use jcc like interfaces
$ npm install swtc-lib@nativescript // mobile appBuild from the source and test
$ git clone https://github.com/swtcca/swtc-lib.git
$ npm install
$ npm run build or npm run build:production
$ npm run testAbout Jingtum lib
Basic js lib to be used for interacting with jingtum blockchain network.
- Keep only one websocket connecttion to jingtum and handle exception
- Do transaction to jingtumd, and process response
- Subscribe events, include server, ledger, account and so on
- Get other information from jingtum
INSTALL
$ npm install jingtum-libDocuments
For more information see docs.md