Skip to content

Is it possible to import only some function from hardhat or plugins? #3081

Discussion options

You must be logged in to vote

In general you can't use any Hardhat functionality if the HRE (the Hardhat environment) is not loaded. We are going to work in the future on making Hardhat more modular (starting from being able to create a Hardhat network without having a Hardhat project), but things like getContractAt are very much tied to a Hardhat project.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant