Can't connect to Ganache #6625
Unanswered
TobiasAboh
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Ensure you have entered the URL correctly
Also make sure using the Ganache UI that if its running at port |
Beta Was this translation helpful? Give feedback.
0 replies
-
@TobiasAboh, you will have to run ganache from your localhost. You will have to install ganache from your localhost. Running these two commands will run ganache network from your localhost.
Also, you can use ganache pacakge from your script for getting the ganache provider. const ganache = require("ganache");
const provider = new ethers.providers.Web3Provider(ganache.provider()); |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting this error when I run deploy.js to deploy the contract on Ganache
And this is the deploy code
Beta Was this translation helpful? Give feedback.
All reactions