@laborx/token-bridge-sidechain-sc
v0.1.1
Published
Provides Token Bridge sidechain smart contracts
Downloads
4
Readme
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