lightcone_v3.js
v0.0.1
Published
Loopring javascript library for Lightcone 2.0
Downloads
3
Readme
Javascript library for Lightcone 2.0
Node version: 10.x
npm install
to install dependenciesnpm run build:proto
to generate models from protobuffernpm run build
to build the projectnpm run test
to run tests
Steps to run unit tests
- Launch a local Eth node
docker run -p 8545:8545 kongliangzhong/contracts-beta2:0.2
- Run tests
npm install
npm run build
npm run test
Entrypoint of library
src/index.ts
How to build a Docker?
docker build -t lightcone-v2-js -f Dockerfile .
How to run tests in Docker?
docker run --rm lightcone-v2-js sh -c 'npm run test'