- 0x.js@0.33.2 - @0xproject/abi-gen@0.2.6 - @0xproject/assert@0.2.1 - @0xproject/base-contract@0.0.4 - chai-as-promised-typescript-typings@0.0.11 - chai-typescript-typings@0.0.5 - @0xproject/connect@0.6.4 - contracts@2.1.16 - @0xproject/deployer@0.3.0 - @0xproject/dev-utils@0.3.0 - ethers-typescript-typings@0.0.3 - @0xproject/json-schemas@0.7.15 - @0xproject/monorepo-scripts@0.1.13 - @0xproject/react-docs-example@0.0.2 - @0xproject/react-docs@0.0.2 - @0xproject/react-shared@0.0.2 - @0xproject/sol-cov@0.0.2 - @0xproject/sra-report@0.0.2 - @0xproject/subproviders@0.8.0 - @0xproject/testnet-faucets@1.0.17 - @0xproject/tslint-config@0.4.11 - @0xproject/types@0.4.0 - @0xproject/utils@0.4.2 - web3-typescript-typings@0.10.1 - @0xproject/web3-wrapper@0.3.0 - @0xproject/website@0.0.19
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
:
"include": [
"./node_modules/web3-typescript-typings/index.d.ts",
]