diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-05 00:05:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 00:05:57 +0800 |
commit | c43ba6b3c7082544f8aa8f1c297eb271ca079ea4 (patch) | |
tree | d81232245f6be7412d1273c20bf0b8be58ef7277 /contracts/utils/README.md | |
parent | 79f5e36edbd8a4483aac46032092dece95bb0b4c (diff) | |
parent | 18489161c6871ad7e76967644f91cad2a9be1e85 (diff) | |
download | dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.tar dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.tar.gz dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.tar.bz2 dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.tar.lz dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.tar.xz dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.tar.zst dexon-sol-tools-c43ba6b3c7082544f8aa8f1c297eb271ca079ea4.zip |
Merge pull request #1373 from 0xProject/feature/contracts-monorepo-3
Contracts monorepo III
Diffstat (limited to 'contracts/utils/README.md')
-rw-r--r-- | contracts/utils/README.md | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/contracts/utils/README.md b/contracts/utils/README.md new file mode 100644 index 000000000..e7c7b49ff --- /dev/null +++ b/contracts/utils/README.md @@ -0,0 +1,70 @@ +## Contracts utils + +Smart contracts utils used in the 0x protocol. + +## Usage + +Contracts can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories: + +* [utils](./contracts/utils) + * This directory contains libraries and utils. +* [test](./contracts/test) + * This directory contains mocks and other contracts that are used solely for testing contracts within the other directories. + +## Contributing + +We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. + +For proposals regarding the 0x protocol's smart contract architecture, message format, or additional functionality, go to the [0x Improvement Proposals (ZEIPs)](https://github.com/0xProject/ZEIPs) repository and follow the contribution guidelines provided therein. + +Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started. + +### Install Dependencies + +If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them: + +```bash +yarn config set workspaces-experimental true +``` + +Then install dependencies + +```bash +yarn install +``` + +### Build + +To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory: + +```bash +PKG=@0x/contracts-utils yarn build +``` + +Or continuously rebuild on change: + +```bash +PKG=@0x/contracts-utils yarn watch +``` + +### Clean + +```bash +yarn clean +``` + +### Lint + +```bash +yarn lint +``` + +### Run Tests + +```bash +yarn test +``` + +#### Testing options + +Contracts testing options like coverage, profiling, revert traces or backing node choosing - are described [here](../TESTING.md). |