@nomiclabs/hardhat-truffle4
Version:
Truffle 4 Hardhat compatibility plugin
20 lines (11 loc) • 648 B
Markdown
# hardhat-truffle4
[Hardhat](https://hardhat.org) plugin for integration with TruffleContract from Truffle 4.
**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.
### Installation
#### Hardhat 3
To learn how to migrate to Hardhat 3, please read the [migration guide](https://hardhat.org/migrate-from-hardhat2).
#### Hardhat 2
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-truffle4@hh2"
```