capofficial / client

CAP protocol web client built with Svelte
https://cap.io
Other
2 stars 4 forks source link

WalletConnect: add dapp URL (required by some wallets ie. uniswap) #87

Closed risasoft closed 11 months ago

risasoft commented 11 months ago

Hopefully, this helps resolve some connection issues with uniswap wallets.

According to the @web3-onboard/walletconnect documentation some wallets require this.

  /**
   * Defaults to `appMetadata.explore` that is supplied to the web3-onboard init
   * Strongly recommended to provide atleast one URL as it is required by some wallets (i.e. MetaMask)
   * To connect with WalletConnect
   */
  dappUrl: 'http://YourAwesomeDapp.com'

Also, we should ensure the WC verify API works for added security: (I don't think this is causing connection issues but it's logging errors in the console)

https://docs.walletconnect.com/cloud/verify

Updated wallet connect related packages, pinned versions.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 5:39pm