adrianhajdin / project_crowdfunding

With a stunning design, connected to the blockchain, metamask pairing, interaction with smart contracts, sending Ethereum through the blockchain network, and writing solidity code.
https://jsmastery.pro
693 stars 375 forks source link

Error: Could not resolve metadata for contract at 0x3b63b85894Be00ad6D9FCD977Fa1D60f21dc6dCe at fetchContractMetadataFromAddress #21

Closed PunithNandiraj1 closed 1 year ago

PunithNandiraj1 commented 1 year ago

I am getting these errors , Please help

  1. contract call failure TypeError: Cannot read properties of undefined (reading 'call')
  2. Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received 3.Error: Could not resolve metadata for contract at 0x3b63b85894Be00ad6D9FCD977Fa1D60f21dc6dCe at fetchContractMetadataFromAddress
croziermaxime commented 1 year ago

Hey, you just use activeChain instead of desiredChainId in you main.jsx file, it worked for me

PunithNandiraj1 commented 1 year ago

Thank you @croziermaxime