@nomiclabs/hardhat-truffle5
Version:
Truffle 5 Hardhat compatibility plugin
20 lines (11 loc) • 720 B
Markdown
[](https://hardhat.org) plugin for integration with TruffleContract from Truffle 5. This allows tests and scripts written for Truffle to work with Hardhat.
**Version compatibility warning:** This version of the package does not work with Hardhat 2 nor 3. Please read below to migrate to Hardhat 3 or install a version compatible with Hardhat 2.
To learn how to migrate to Hardhat 3, please read the [migration guide](https://hardhat.org/migrate-from-hardhat2).
To use this package with Hardhat 2, please install the `hh2` tag with npm or your package manager of choice:
```bash
npm install --save-dev "@nomiclabs/hardhat-truffle5@hh2"
```