>
>
Check out the new hardhat-waffle replacement!
>
>

#Migrating away from hardhat-waffle

Our recommended setup used to include Waffle using our hardhat-waffle plugin.

We now recommend using our Hardhat Chai Matchers and Hardhat Network Helpers instead.

Migrating to these packages only takes a few minutes, as they were designed as a drop-in replacement. If you do so, you'll get more functionality, like support for Solidity custom errors and native bigint support, and a more reliable testing experience.

To learn how to start using them, read this guide.

# Using the Hardhat Toolbox

You can get our recommended setup by installing @nomicfoundation/hardhat-toolbox, a single plugin that has everything you need.

When you use it, you'll be able to: