Replies: 1 comment
-
Hardhat only supports 1 main connection at the moment. This may change in the future, but that will imply a major change, so it won't happen in the short-term. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
is it possible for hardhat to create 2 default providers for a given network?
I often need to subscribe to events using a websocket provider, and I need to create this provider from scratch.
I might be unaware of this feature, but I was thinking it would be nice if hardhat.config.ts accepted for example
and made two providers available for example through
ethers.httpProvider
andethers.wsProvider
or something of that sort.Is this already possible and I am just not aware of how to access this functionality?
Beta Was this translation helpful? Give feedback.
All reactions