# @0x/contract-artifacts

> 0x smart contract compilation artifacts

Latest version **3.19.0** (published 2023-04-24) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @0x/contract-artifacts
pnpm add @0x/contract-artifacts
yarn add @0x/contract-artifacts
bun add @0x/contract-artifacts
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.19.0 |
| Published | 2023-04-24 |
| First published | 2018-10-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.12 |
| Dependencies | 0 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 404 |
| Maintainers | rhinodavid, mwelche, savdont, eobbad, aeph4muh, idokleinman, jadetran, kyuc, henryzhu, tobernguyen, dex_tracker, dekz, amirbandeali, phil-ociraptor |

## Links

- npm: https://www.npmjs.com/package/@0x/contract-artifacts
- Repository: https://github.com/0xProject/protocol
- Homepage: https://github.com/0xProject/protocol/tree/main/packages/contract-artifacts
- Issues: https://github.com/0xProject/protocol/issues
- npm.io page: https://npm.io/package/@0x/contract-artifacts

## Recent versions

- 3.19.0 (latest) — 2023-04-24
- 3.13.0-multiplex (multiplex) — 2021-03-16
- 2.3.0-beta.4 (protocolV3) — 2019-12-02
- 3.18.3 — 2023-01-23
- 3.18.2 — 2022-11-23
- 3.18.1 — 2022-08-22
- 3.18.0 — 2022-03-31
- 3.17.0 — 2022-02-22
- 3.16.0 — 2021-09-29
- 3.15.1 — 2021-09-15
- 3.15.0 — 2021-06-02
- 3.14.2 — 2021-05-05
- 3.14.1 — 2021-04-28
- 3.14.0 — 2021-04-01
- 3.13.0 — 2021-03-17
- … 40 more at https://npm.io/package/@0x/contract-artifacts/versions

## README

## @0x/contract-artifacts

Smart contract compilation artifacts for the latest version of the 0x Protocol.

## Installation

```bash
yarn add @0x/contract-artifacts
```

**Import**

```typescript
import * as artifacts from '@0x/contract-artifacts';
```

or

```javascript
var artifacts = require('@0x/contract-artifacts');
```

## 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](../../.github/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/contract-artifacts yarn build
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

### Run Tests

```bash
yarn test
```

### Development

This package needs to be updated manually when deploying a new contract.
Post-deployment workflow:

1. Update `@0x/contract-addresses`
2. Copy the contract artifact into `@0x/contract-artifacts`. If updating all the artifacts at once, you can use `yarn artifacts_update`. If manually coping an artifact, make sure to use `yarn artifacts_transform` to remove unwanted fields.
3. Regenerate the wrappers. `cd ../contract-wrappers && yarn rebuild`

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