charleenfei / tinlake.js

Tinlake Smart Contracts API Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tinlake JavaScript Client

Usage

Documentation can be found in ./docs/ or at https://centrifuge.github.io/tinlake.js/.

Development

Install dependencies with npm install.

Running tests

Pre Installed

Run a local Ethereum Node

dapp testnet --accounts=2

Additional Flags

--save=name after finishing, save snapshot --load=name start from a previously saved snapshot

Deploy Tinlake Contracts for Tests

./bin/deploy.sh

Run integration tests

npm run test

Building for production

Create a bundle in the ./dist folder with npm run build.

Creating documentation

We use TypeDoc for documentation. Run npm run generate-docs to recreate the ./docs/ folder. Checkout TSDoc for formatting guidelines.

About

Tinlake Smart Contracts API Client


Languages

Language:TypeScript 95.2%Language:Shell 3.5%Language:JavaScript 1.3%