# @0x/contracts-erc20

> Token contracts used by 0x protocol

Latest version **4.0.14** (published 2023-11-16) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @0x/contracts-erc20
pnpm add @0x/contracts-erc20
yarn add @0x/contracts-erc20
bun add @0x/contracts-erc20
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.0.14 |
| Published | 2023-11-16 |
| First published | 2019-02-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.12 |
| Dependencies | 0 |
| Unpacked size | 37.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 406 |
| Maintainers | aeph4muh, rhinodavid, mwelche, savdont, kyuc, henryzhu, tobernguyen, dekz, amirbandeali, phil-ociraptor |

## Links

- npm: https://www.npmjs.com/package/@0x/contracts-erc20
- Repository: https://github.com/0xProject/protocol
- Issues: https://github.com/0xProject/protocol/issues
- npm.io page: https://npm.io/package/@0x/contracts-erc20

## Recent versions

- 4.0.14 (latest) — 2023-11-16
- 3.3.5-multiplex.0 (multiplex) — 2021-03-16
- 2.3.0-beta.4 (protocolV3) — 2019-12-02
- 4.0.13 — 2023-08-29
- 4.0.12 — 2023-08-18
- 4.0.11 — 2023-08-09
- 4.0.10 — 2023-07-21
- 4.0.9 — 2023-07-19
- 4.0.8 — 2023-05-10
- 4.0.7 — 2023-05-01
- 4.0.6 — 2023-04-20
- 4.0.5 — 2023-04-17
- 4.0.4 — 2023-04-16
- 4.0.3 — 2023-04-10
- 4.0.2 — 2023-03-10
- … 116 more at https://npm.io/package/@0x/contracts-erc20/versions

## README

## ERC20 Tokens

This package contains implementations of various [ERC20](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md) tokens, including WETH (Wrapped Ether) and ZRX. Addresses of the deployed contracts can be found in this 0x [guide](https://0x.org/docs/guides/0x-cheat-sheet) or the [DEPLOYS](./DEPLOYS.json) file within this package.

## Installation

**Install**

```bash
npm install @0x/contracts-erc20 --save
```

## Bug bounty

A bug bounty for the 2.0.0 contracts is ongoing! Instructions can be found [here](https://0x.org/docs/guides/bug-bounty-program).

## 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](../../.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/contracts-erc20 yarn build
```

Or continuously rebuild on change:

```bash
PKG=@0x/contracts-erc20 yarn watch
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

### Run Tests

```bash
yarn test
```

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