# ethers-v5-compat

> ## Overview

Latest version **1.0.2** (published 2023-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install ethers-v5-compat
pnpm add ethers-v5-compat
yarn add ethers-v5-compat
bun add ethers-v5-compat
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-10-05 |
| First published | 2023-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | codezen1 |

## Links

- npm: https://www.npmjs.com/package/ethers-v5-compat
- npm.io page: https://npm.io/package/ethers-v5-compat

## Dependencies (2)

- [ethers](https://npm.io/package/ethers.md) ^5.7.0
- [zksync-web3](https://npm.io/package/zksync-web3.md) ^0.14.3

## Recent versions

- 1.0.2 (latest) — 2023-10-05
- 1.0.1 — 2023-10-04
- 1.0.0 — 2023-10-04

## README

# ethers-v5-compat

## Overview

This package serves as a compatibility layer for projects using `ethers` v6 but requiring dependencies that rely on `ethers` v5. It exports `ethers` v5 and `zksync-web3` for easy import in your project. This package is designed to be extensible, and may include additional packages that depend on `ethers` v5 in the future.

## Installation

Install the package using npm or yarn:

```bash
npm install ethers-v5-compat

# OR

yarn add ethers-v5-compat
```

## Usage

### Importing ethers v5

To import ethers v5, simply use:

```typescript
import { ethers } from "ethers-v5-compat";
```

### Importing zksync-web3

To import specific modules from `zksync-web3`, you can do:

```typescript
import { Provider } from "ethers-v5-compat/dist/zksyncWeb3";
```

You can also import multiple modules:

```typescript
import { Provider, Signer, Wallet } from "ethers-v5-compat/dist/zksyncWeb3";
```

## Contributing

Feel free to submit issues or pull requests if you find any bugs or have suggestions for improvements.

## License

This project is licensed under the MIT License.

---
_Source: https://npm.io/package/ethers-v5-compat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
