0.0.1 • Published 4 years ago

lightcone_v3.js v0.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

Javascript library for Lightcone 2.0

Node version: 10.x

  • npm install to install dependencies
  • npm run build:proto to generate models from protobuffer
  • npm run build to build the project
  • npm 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'