/wt-js-libs

Javascript libraries to interact with the Winding tree smart contracts.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Winding Tree Javascript Libraries for Hotels

A JS interface to WindingTree's Ethereum smart-contracts for Hotels.

Documentation

See documentation here https://windingtree.github.io/wt-js-libs/

Install

git clone https://github.com/windingtree/wt-js-libs
nvm install
npm install

Test

To run fast unit tests, run npm test.

To run unit tests on the contracts npm run test-build, it will start a testrpc instance and run the tests in a private network.

npm test
npm run test-build

Build Docs

npm run docs-build // Build documentation
npm run docs-view  // View documentation