@laborx/sidechain-sc
v1.1.0
Published
Provides LaborX sidechain smart contracts
Readme
LaborX Sidechain Smart Contracts
Install
We use several techniques to speed up test running:
- produce minified version of artifacts during compilation (
--minifyflag for 'linkExternalContractArtifacts' function) - use empty
contracts_directory(for example, './src' for simplicity) to avoid double compilation and artifacts' overwriting
Compile smart contracts
yarn contracts:compileBuild
yarn buildGanache
yarn ganacheTest
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:ciDev
Requires manually running ganache instance in a background
yarn test:dev