I want to connect Ballot Dapp to Metamask but it Shows "rpc error with payload" and "ALERT: Trying to call a function on a non-contract address".

enter image description here

  • Please provide a minimal, complete and verifiable example of your code which shows the error. (stackoverflow.com/help/mcve) – Richard Horrocks May 2 '19 at 6:58
  • Yea it seems like there is an error with the way you are calling the function – Rahul Kothari May 2 '19 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.