The eth_requestAccounts query returns nothing and shows no error

This post was flagged by the community and is temporarily hidden.

Hi @RubicEX

Sorry, can you provide more details on this?

1 Like

Hi, @KBeeTheCapybara

Describe the bug

  • If you open chrome devtools beforehand, there is no error.
  • The same problem is observed with TronLink wallet, which like MetaMask inserts its functions into window object.

Therefore, the error is most likely in the interaction with the window object.

  • Google Chrome 109.0.5414.87
  • we don’t use any additional libraries, we take window.ethereum directly
  • output the ethereum.isConnected() method gives: true

Steps to reproduce

  1. Open the page app.rubic.exchange
  2. Connect Wallet select MetaMask
  3. Disconnect Wallet
  4. Open a new page app.rubic.exchange do not refresh, just open a link
  5. Connect Wallet select MetaMask

Error messages or log output

No

Version

10.23.3

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

2 Likes

Thank you! have shared this with team, will report back once I hear something!

1 Like