# @0xproject/deployer

> Smart contract deployer of 0x protocol

Latest version **0.4.3** (published 2018-05-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @0xproject/deployer
pnpm add @0xproject/deployer
yarn add @0xproject/deployer
bun add @0xproject/deployer
```

Provides the command `0x-deployer`.

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; large bundle; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.3 |
| Published | 2018-05-04 |
| First published | 2018-01-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 17 |
| Unpacked size | 11 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1406 |
| Author | Amir Bandeali |
| Maintainers | amirbandeali, bchillman, dekz, fberger, logvinov |

## Links

- npm: https://www.npmjs.com/package/@0xproject/deployer
- Repository: https://github.com/0xProject/0x-monorepo
- Homepage: https://github.com/0xProject/0x-monorepo/packages/deployer/README.md
- Issues: https://github.com/0xProject/0x-monorepo/issues
- npm.io page: https://npm.io/package/@0xproject/deployer

## Dependencies (17)

- [solc](https://npm.io/package/solc.md) ^0.4.23
- [web3](https://npm.io/package/web3.md) ^0.20.0
- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [yargs](https://npm.io/package/yargs.md) ^10.0.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [semver](https://npm.io/package/semver.md) ^5.5.0
- [@types/yargs](https://npm.io/package/@types/yargs.md) ^11.0.0
- [web3-eth-abi](https://npm.io/package/web3-eth-abi.md) ^1.0.0-beta.24
- [ethereumjs-util](https://npm.io/package/ethereumjs-util.md) ^5.1.1
- [@0xproject/types](https://npm.io/package/@0xproject/types.md) ^0.6.3
- [@0xproject/utils](https://npm.io/package/@0xproject/utils.md) ^0.6.1
- [isomorphic-fetch](https://npm.io/package/isomorphic-fetch.md) ^2.2.1
- [require-from-string](https://npm.io/package/require-from-string.md) ^2.0.1
- [@0xproject/json-schemas](https://npm.io/package/@0xproject/json-schemas.md) ^0.7.23
- [@0xproject/sol-resolver](https://npm.io/package/@0xproject/sol-resolver.md) ^0.0.4
- [@0xproject/web3-wrapper](https://npm.io/package/@0xproject/web3-wrapper.md) ^0.6.3
- [@0xproject/typescript-typings](https://npm.io/package/@0xproject/typescript-typings.md) ^0.3.1

## Recent versions

- 0.4.3 (latest) — 2018-05-04
- 0.4.2 — 2018-05-04
- 0.4.1 — 2018-04-18
- 0.4.0 — 2018-04-11
- 0.3.5 — 2018-04-02
- 0.3.4 — 2018-04-02
- 0.3.3 — 2018-03-20
- 0.3.2 — 2018-03-18
- 0.3.1 — 2018-03-18
- 0.3.0 — 2018-03-18
- 0.2.1 — 2018-03-08
- 0.2.0 — 2018-03-04
- 0.1.0 — 2018-02-16
- 0.0.9 — 2018-02-10
- 0.0.8 — 2018-02-10
- … 5 more at https://npm.io/package/@0xproject/deployer/versions

## README

## @0xproject/deployer

This repository contains a CLI tool that facilitates compiling and deployment of smart contracts.

### Read the [Documentation](https://0xproject.com/docs/deployer).

## Installation

#### CLI Installation

```bash
yarn global add @0xproject/deployer
```

#### API Installation

```bash
yarn add @0xproject/deployer
```

If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:

```json
"compilerOptions": {
    "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
}
```

**Import**

```typescript
import { Deployer, Compiler } from '@0xproject/deployer';
```

or

```javascript
var Deployer = require('@0xproject/deployer').Deployer;
var Compiler = require('@0xproject/deployer').Compiler;
```

## Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

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

If this is your **first** time building this package, you must first build **all** packages within the monorepo. This is because packages that depend on other packages located inside this monorepo are symlinked when run from **within** the monorepo. This allows you to make changes across multiple packages without first publishing dependent packages to NPM. To build all packages, run the following from the monorepo root directory:

```bash
yarn lerna:rebuild
```

Or continuously rebuild on change:

```bash
yarn dev
```

You can also build this specific package by running the following from within its directory:

```bash
yarn build
```

or continuously rebuild on change:

```bash
yarn build:watch
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

### Run Tests

```bash
yarn test
```

---
_Source: https://npm.io/package/@0xproject/deployer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
