0.1.1 • Published 6 years ago

@laborx/token-bridge-sidechain-sc v0.1.1

Weekly downloads
2
License
AGPL-3.0
Repository
gitlab
Last release
6 years ago

LaborX Token Bridge (sidechain) Smart Contracts

Install

We use several techniques to speed up test running:

  • produce minified version of artifacts during compilation (--minify flag for 'linkExternalContractArtifacts' function)
  • use empty contracts_directory (for example, './src' for simplicity) to avoid double compilation and artifacts' overwriting

Compile smart contracts

yarn contracts:compile

Build

yarn build

Ganache

yarn ganache

Test

Separate test files could be provided to run only focused tests: --testFile ./test/test1.ts --testFile ./test/test2.ts.

CI

Uses independent self-running ganache instance during test cycle

yarn test:ci

Dev

Requires manually running ganache instance in a background

yarn test:dev