You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After importing "@nomicfoundation/hardhat-toolbox"; at hardhat.config.ts, the hardhat commands work. But compiling the project with tsc gives errors with the ethers added functionality, like ethers.getSigners().
Minimal reproduction steps
The project was created with pnpm add -D hardhat and npx hardhat init using the template Create a TypeScript project.
Version of Hardhat
2.22.17
What happened?
After importing "@nomicfoundation/hardhat-toolbox"; at hardhat.config.ts, the
hardhat
commands work. But compiling the project withtsc
gives errors with the ethers added functionality, likeethers.getSigners()
.Minimal reproduction steps
The project was created with
pnpm add -D hardhat
andnpx hardhat init
using the templateCreate a TypeScript project
.Here is the tsconfig.json file:
And here is the hardhat.config.ts:
Search terms
ethers
The text was updated successfully, but these errors were encountered: