-
Notifications
You must be signed in to change notification settings - Fork 383
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
Comments
It seems your contract address might be wrong. |
same problem for me, I have use correct address but still not working |
@SalmanKhan321 @GauravDuseja1 I guess you are missing activeChain in your main.js file |
i am facing the similar issue , have used the correct address but still showing me the same error . please help!!! |
go to client > source > main.jsx file
and replace with this code
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<ThirdwebProvider activeChain={ChainId.Goerli}>
<Router>
<StateContextProvider>
<App />
</StateContextProvider>
</Router>
</ThirdwebProvider>
)
…On Sun, Jul 16, 2023 at 10:04 PM Prash766 ***@***.***> wrote:
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)
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter as Router } from 'react-router-dom';
import { ChainId, ThirdwebProvider } from ***@***.***/react';
import { StateContextProvider } from './context';
import App from './App';
import './index.css';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
)
please help!!!
—
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJQUHFZKOE5RYL47SGVQK23XQQNKFANCNFSM6AAAAAA2LDIWM4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thankyou for helping me 😀😀
…On Sun, Jul 16, 2023, 23:35 SALMAN KHAN ***@***.***> wrote:
go to client > source > main.jsx file
and replace with this code
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<ThirdwebProvider activeChain={ChainId.Goerli}>
<Router>
<StateContextProvider>
<App />
</StateContextProvider>
</Router>
</ThirdwebProvider>
)
On Sun, Jul 16, 2023 at 10:04 PM Prash766 ***@***.***> wrote:
> 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)
>
> import React from 'react';
> import ReactDOM from 'react-dom/client';
> import { BrowserRouter as Router } from 'react-router-dom';
> import { ChainId, ThirdwebProvider } from ***@***.***/react';
>
> import { StateContextProvider } from './context';
> import App from './App';
> import './index.css';
>
> const root = ReactDOM.createRoot(document.getElementById('root'));
>
> root.render(
>
>
>
>
>
>
> )
>
> please help!!!
>
> —
> Reply to this email directly, view it on GitHub
> <
#60 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AJQUHFZKOE5RYL47SGVQK23XQQNKFANCNFSM6AAAAAA2LDIWM4>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2KOW3264AETXAADBLALDXTXQQUPPANCNFSM6AAAAAA2LDIWM4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hey bro , do like this can solve problem
|
I still get this error. I'm using Sepolia instead of goerli. Here's my code
|
import { Sepolia } from "@thirdweb-dev/chains"; do it in this way, It worked for me |
Please Help
The text was updated successfully, but these errors were encountered: