Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query.ts:446 Error: Could not resolve metadata for contract at 0xF2819312c49b121711E127cf8B7bf4CFC715B664 at fetchContractMetadataFromAddress (contract-publisher-d55c8d8a.browser.esm.js:4362:13) #60

Open
GauravDuseja1 opened this issue Jul 15, 2023 · 9 comments

Comments

@GauravDuseja1
Copy link

Please Help

@BahadorGh
Copy link

It seems your contract address might be wrong.

@connectsalman
Copy link

same problem for me, I have use correct address but still not working

@BahadorGh
Copy link

BahadorGh commented Jul 16, 2023

@SalmanKhan321 @GauravDuseja1 I guess you are missing activeChain in your main.js file

@Prash766
Copy link

Prash766 commented Jul 16, 2023

i am facing the similar issue , have used the correct address but still showing me the same error .
query.ts:446 Error: Could not resolve metadata for contract at 0xE25c92898B4621Fc264DA62C46Fbc6e06fBdA0aB
at fetchContractMetadataFromAddress (contract-publisher-d55c8d8a.browser.esm.js:4362:13)

main.jsx file
Screenshot 2023-07-16 223723

please help!!!

@connectsalman
Copy link

connectsalman commented Jul 16, 2023 via email

@Prash766
Copy link

Prash766 commented Jul 16, 2023 via email

@Mosqu1to3zZ
Copy link

Mosqu1to3zZ commented Jul 18, 2023

Hey bro , do like this can solve problem

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

@emirbektas
Copy link

I still get this error. I'm using Sepolia instead of goerli. Here's my code

import React from "react";
import { createRoot } from "react-dom/client";
import App from "./App";
import { ChainId, ThirdwebProvider } from "@thirdweb-dev/react";
import { Sepolia } from "@thirdweb-dev/chains";
import "./styles/globals.css";
import { StateContextProvider } from "./context";

const container = document.getElementById("root");
const root = createRoot(container);
root.render(
  <React.StrictMode>
    <ThirdwebProvider
      activeChain={ChainId.Sepolia}
      clientId="a82c3a6dcea35d5623fc769446c4fdf3"
    >
      <StateContextProvider>
        <App />
      </StateContextProvider>
    </ThirdwebProvider>
  </React.StrictMode>
);

@abhii9922
Copy link

import { Sepolia } from "@thirdweb-dev/chains";
<ThirdwebProvider activeChain={Sepolia}

do it in this way, It worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants