-
I used ethers.js version ^6.0 but got an error saying "JsonRpcProvider does not exist". after going through stackOverflow, there seems to be a bug with the beta version of ethers.js version^6.0. I downgraded to version 5.6.2 (the same as Patrick), but now I get the following error: ''' I'm not too sure how to solve this. my RPC URL and wallet addresses are correct from Ganache. anyone know where the connection error is? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You can try the ganache command line interface(cli), on your command line type yarn add ganache to install it |
Beta Was this translation helpful? Give feedback.
-
I managed to fix the error by changing the server connection in Ganache and specifying WSL. Now I get the following error: Deploying, please wait... I am trying to increase my gas limit to try and see if this works, but so far none of the manual limits I have set get rid of this error... |
Beta Was this translation helpful? Give feedback.
-
changed the server connection in Ganache and specified WSL. specified gas limit within contract to eliminate: |
Beta Was this translation helpful? Give feedback.
changed the server connection in Ganache and specified WSL.
specified gas limit within contract to eliminate:
<ref *1> Error: cannot estimate gas; transaction may fail or may require manual gas limit