Skip to content

v3.0.0

Compare
Choose a tag to compare
@jfschwarz jfschwarz released this 03 Feb 21:08
· 206 commits to master since this release
f47f187

What's Changed

Breaking Changes

  • The factory functions now take an ethers.providers.JsonRpcSigner instead of a HardhatRuntimeEnvironment as parameter so they no longer depend on hardhat

Migration from v2

Create a signer from your hardhat environment:

const [signerWithAddress] = await hre.ethers.getSigners();
const signer = hre.ethers.provider.getSigner(signerWithAddress.address)

Pass that signer instance where previously the HardhatRuntimeEnvironment was expected.

Full Changelog: v2.1.2...v3.0.0-fix