Ganache RPC Server Issue - Information #286
Replies: 6 comments 26 replies
-
For me: I had to change it to If its not working Then using that info for your metamask. If your metamask cant connect to it, your contract probably cant ether. You don't really need to use ganache with hardhat. It has a built in backend. |
Beta Was this translation helpful? Give feedback.
-
@ali-thegilfoyle Use the server that says vWSL and make sure port is 8545, that solved it for me. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Added your update here: https://github.com/smartcontractkit/full-blockchain-solidity-course-js/blob/main/chronological-updates.md#using-the-wsl-endpoint Thank you! |
Beta Was this translation helpful? Give feedback.
-
any changes related to chainId or will any chainId work? |
Beta Was this translation helpful? Give feedback.
-
Didn't work for me. I had to change the server to http://192.168.0.147 -WiFi, then only it worked. Can anyone explain what happened here? |
Beta Was this translation helpful? Give feedback.
-
Thank you. I did it and it worked
…On Fri, 21 Apr 2023, 17:46 Ali Murtaza, ***@***.***> wrote:
@AKIN-THOMAS <https://github.com/AKIN-THOMAS> Downgrade the ethers
version. Run this command npm i --force ethers@^5
—
Reply to this email directly, view it on GitHub
<#286 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZABAMYUY25CGFJBZEEWDSTXCK2XTANCNFSM5YR2X22Q>
.
You are receiving this because you were mentioned.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/286/comments/5688504
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Before reaching this point, I saw many people were facing the issue with Ganache while deploying the smart contract. I personally face this issue now and the simple solution to that issue was to change the Ganache RPC Server endpoint.
Follow these steps, if you face the problem;
I hope now you will not face the issue like me!
Beta Was this translation helpful? Give feedback.
All reactions