walletconnect-monorepo icon indicating copy to clipboard operation
walletconnect-monorepo copied to clipboard

Pairing fails with `verify/attestation/...` 404

Open glitch-txs opened this issue 1 year ago • 1 comments

Discussed in https://github.com/orgs/WalletConnect/discussions/4204

Originally posted by asood123 February 5, 2024 Hi there -

I'm building a demo to allow an Account Abstraction Wallet to be used with a dapp via WalletConnect. I copied the code from react-wallet-v2.

When I call web3Wallet.pair({uri}) (with a valid wc... string from say Uniswap interface), it always fails with a 404 to verify/attestation/... call. Things I have tried:

  • verifying the domain by publishing on a vercel link but still same error. Is there a way to skip the verify call on localhost?
  • I thought maybe the dapp can require a verify call, so I even spun up a local dapp with a different walletconnect id and still same error.

404 occurs even before it triggers session-proposal (i.e. never reaches web3wallet.on('session_proposal', onSessionProposal)). I must be missing something obvious. Any pointers to debug why verify/attestation/ call is being placed (I thought it shouldn't be) and how to either skip it or avoid the 404 would be greatly appreciated 🙏 .

cc @thekidnamedkd, who's running into something similar.

glitch-txs avatar Jun 21 '24 11:06 glitch-txs

the attestation 404s because the dapp doesn't publish it thus its not available when the wallet tries to fetch.

404 occurs even before it triggers session-proposal

yes, this is expected as the attestation fetch is done before we emit session_propose.

To enable verify api, please go to cloud.walletconnect.com and update your settings

ganchoradkov avatar Jul 03 '24 11:07 ganchoradkov