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

Uncaught (in promise) Error: No address for Uniswap Multicall Contract on chain id: 11155111 #73

Open
khang-uit opened this issue Mar 25, 2024 · 2 comments

Comments

@khang-uit
Copy link

khang-uit commented Mar 25, 2024

I got this error when try to use sepolia network in v3sdk/routing

multicall-uniswap-provider.ts:45 Uncaught (in promise) Error: No address for Uniswap Multicall Contract on chain id: 11155111
    at new UniswapMulticallProvider (multicall-uniswap-provider.ts:45:1)
    at new AlphaRouter (alpha-router.ts:385:1)
    at generateRoute (routing.ts:27:1)
    at Example.tsx:62:1
    at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1)
    at invokeGuardedCallback (react-dom.development.js:4277:1)
    at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:4291:1)
    at executeDispatch (react-dom.development.js:9041:1)
    at processDispatchQueueItemsInOrder (react-dom.development.js:9073:1)

this is in config.ts file

export const CurrentConfig: ExampleConfig = {
  env: Environment.WALLET_EXTENSION,
  rpc: {
    local: 'http://localhost:8545',
    mainnet: 'https://sepolia.infura.io/v3/token',
  },

create new router script

  const router = new AlphaRouter({
    chainId: 11155111,
    provider: getMainnetProvider(),
  })
@MJumpKing
Copy link

Have you solved this problem?

@dcapitator
Copy link

they do not support sepolia chain i guess

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

3 participants