I recently deployed a contract on the Ropsten testnet and am trying to connect my frontend to my deployed contract. I have created a contract instance with my ABI and contract address, however, my frontend is still not connecting properly. I am currently connecting to web3 via localhost 7545. Is this the problem? How can I resolve this? Help would be insanely appreciated!

1 Answer 1


Yes, this is the problem.

Replace http://localhost:7545 with https://ropsten.infura.io/v3/YourInfuraProjectID.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.