web3-onboard: [Bug]: Unstoppable Domains resolution error

Current Behavior

When connecting a wallet onboard tries to call the Unstoppable Domains contracts on Ethereum and Polygon using a custom Infura endpoint. These requests fail with the following error: “rejected due to project ID settings”.

Expected Behavior

The calls should either not fail or there should be an option to disable Unstoppable Domains support in the init config

Steps To Reproduce

const injected = injectedModule({});

this.onboard = Onboard({
  wallets: [injected],
  chains: blockNativeChains,
  appMetadata: {
    ...
  },
});

Connect to wallet via await this.onboard.connectWallet(); The errors will show up in the console

What package is effected by this issue?

@web3-onboard/core

Is this a build or a runtime issue?

Runtime

Package Version

2.14.1

Node Version

16.17.1

What browsers are you seeing the problem on?

Firefox, Chrome

Relevant log output

ResolutionError: < Request to https://mainnet.infura.io/v3/c4bb906ed6904c42b19c95825fe55f39 failed with response status 403 >

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 25 (10 by maintainers)

Most upvoted comments

Thank you @V-Shadbolt ! Closing for now as the issue is resolved. Feel free to continue commenting here or open another issue if anything else arises. Thanks all!!