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
680 stars 372 forks source link

Could not resolve metadata for contract at 0x3ec75369c5BE84e04705B4EFe44cA10241e76Bcd at fetchContractMetadataFromAddress #56

Open U220053 opened 1 year ago

U220053 commented 1 year ago

All the solution mentioned previously doesn't work for me ..changing to activeChainId...also i am using sepolia

bghad1 commented 1 year ago

Hi Suggest check Issue #55 which is settled up on Sepolia too and is working.

Please let me know if problem persists

U220053 commented 1 year ago

hi @bghad1 Issue #55 contains the whole project link ...but specifically how do I resolve the error which I mentioned.

U220053 commented 1 year ago

Also @bghad1 in .env.example what is the PROJECT ID ?where do I get it from ...actually i am complete beginner so kindly help

BahadorGh commented 1 year ago

Hey @U220053 .env is a file, for security reasons. But in case of testing, you don't need it. You can easily set your rpc url(ex: infura rpc) and private key, in hardhat.config.js

U220053 commented 1 year ago

Warning: validateDOMNesting(...):

U220053 commented 1 year ago

Screenshot (721) Screenshot (719) Screenshot (720)

U220053 commented 1 year ago

@bghad1

BahadorGh commented 1 year ago

Screenshot (721) Screenshot (719) Screenshot (720)

I'm sure the issue was solved in my latest push. By the way, to solve the error of

BahadorGh commented 1 year ago

Also about the another problem you faced(call revert exception), did you deploy your contract?

U220053 commented 1 year ago

@BahadorGh yes I deployed without project id on hardhat network ...where do I get project Id from as mentioned in env.example

U220053 commented 1 year ago

The changes in navbar is already in the code of navbar still no affect

BahadorGh commented 1 year ago

@BahadorGh yes I deployed without project id on hardhat network ...where do I get project Id from as mentioned in env.example

You can sign up in Infura.io and create a project there to get project id

Mosqu1to3zZ commented 1 year ago

Hey bro do like this can solve problem .

root.render(
  <ThirdwebProvider activeChain="goerli" clientId="5"> 
    <Router>
      <StateContextProvider>
        <App />
      </StateContextProvider>
    </Router>
  </ThirdwebProvider>