- 0x.js@0.33.3 - @0xproject/abi-gen@0.2.7 - @0xproject/assert@0.2.2 - @0xproject/base-contract@0.0.5 - chai-as-promised-typescript-typings@0.0.12 - chai-typescript-typings@0.0.6 - @0xproject/connect@0.6.5 - contracts@2.1.17 - @0xproject/deployer@0.3.1 - @0xproject/dev-utils@0.3.1 - ethers-typescript-typings@0.0.4 - @0xproject/json-schemas@0.7.16 - @0xproject/monorepo-scripts@0.1.14 - @0xproject/react-docs-example@0.0.3 - @0xproject/react-docs@0.0.3 - @0xproject/react-shared@0.0.3 - @0xproject/sol-cov@0.0.3 - @0xproject/sra-report@0.0.3 - @0xproject/subproviders@0.8.1 - @0xproject/testnet-faucets@1.0.18 - @0xproject/tslint-config@0.4.12 - @0xproject/types@0.4.1 - @0xproject/utils@0.4.3 - web3-typescript-typings@0.10.2 - @0xproject/web3-wrapper@0.3.1 - @0xproject/website@0.0.20
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",
]