1.0.2 • Published 7 months ago

ethers-v5-compat v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

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:

npm install ethers-v5-compat

# OR

yarn add ethers-v5-compat

Usage

Importing ethers v5

To import ethers v5, simply use:

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

Importing zksync-web3

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

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

You can also import multiple modules:

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.

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago