- 0x.js@0.34.0 - @0xproject/abi-gen@0.2.8 - @0xproject/assert@0.2.4 - @0xproject/base-contract@0.0.6 - @0xproject/connect@0.6.7 - contracts@2.1.20 - @0xproject/deployer@0.3.4 - @0xproject/dev-utils@0.3.3 - @0xproject/json-schemas@0.7.18 - @0xproject/monorepo-scripts@0.1.15 - @0xproject/react-docs-example@0.0.5 - @0xproject/react-docs@0.0.5 - @0xproject/react-shared@0.1.0 - @0xproject/sol-cov@0.0.5 - @0xproject/sra-report@0.0.6 - @0xproject/subproviders@0.8.3 - @0xproject/testnet-faucets@1.0.21 - @0xproject/tslint-config@0.4.13 - @0xproject/types@0.4.2 - @0xproject/typescript-typings@0.0.2 - @0xproject/utils@0.4.4 - @0xproject/web3-wrapper@0.4.0 - @0xproject/website@0.0.23
Dev utils
Dev utils to be shared across 0x projects and packages
Configuration
Some env variables might be set to change the behaviour of created web3 providers/instances.
VERBOSE_GANACHE: boolean. Enables verbose Ganache logging. Every request/response payload. Slightly slower, but useful for testing.
SOLIDITY_COVERAGE: boolean. If set - adds coverage subprovider which intercepts all calls/transactions and can be later used to compute code coverage.
Boolean env variables should be either true
or false
. Defaults to false
if not set.
Install
yarn add @0xproject/dev-utils
If your project is in TypeScript, add the following to your tsconfig.json
:
"compilerOptions": {
"typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
}