Is it possible to run hardhat in the browser? #3127
|
I tried naively running it through browserify, but I keep getting various errors. I was wondering if someone else might have already gone through the process, or if there are some known reasons why it can't feasibly work. |
Replies: 6 comments
|
Hey, @orenyomtov! Hardhat depends on tons of apis from Node.js and its dependency model, so it's not really browser-compatible. Are you looking to run Hardhat or Hardhat Network in the browser? |
|
@alcuadrado thanks for the quick response! Mainly Hardhat Network - does that make things easier? |
|
Thanks for clarifying. We have plans for that, but I don't think we'd be able to prioritize them this year. |
|
Do you have a general plan of attack for supporting Hardhat Network to run in the browser? |
|
We are porting it to rust and will provide wasm builds. |

We are porting it to rust and will provide wasm builds.