You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to create a very simple Angular-based dapp using Appkit to display the wallet selection modal and then doing a transfer transaction from the connected account to another account with a selected token.
My code works as expected with the MetaMask extension. However, when I try to use for example the Binance wallet app and connect it with the WalletConnect QR code, the wallet initially seems to connect and I can get for example the account details and the wallet info, but the wagmi status remains "disconnected" indefinitely with zero connections and any sendTransaction or writeContract call fails with the "ConnectorNotConnectedError: Connector not connected" error.
It maybe an issue with the wagmi configuration, or maybe I'm not doing something else correctly, but in that case I would expect the MetaMask extension not to work either. I also attempted to use a custom connector as described in the docs, but it did not make any difference, probably because "WC connectors are provided out of the box" and the connection does provide
It seems to work if I call wagmi's "connect" method again after the first attempt. Maybe there's an issue with the connection handling when not using React hooks?
Link to minimal reproducible example
https://stackblitz.com/~/github.com/mvaljento/appkit-test
Summary
I'm attempting to create a very simple Angular-based dapp using Appkit to display the wallet selection modal and then doing a transfer transaction from the connected account to another account with a selected token.
My code works as expected with the MetaMask extension. However, when I try to use for example the Binance wallet app and connect it with the WalletConnect QR code, the wallet initially seems to connect and I can get for example the account details and the wallet info, but the wagmi status remains "disconnected" indefinitely with zero connections and any sendTransaction or writeContract call fails with the "ConnectorNotConnectedError: Connector not connected" error.
It maybe an issue with the wagmi configuration, or maybe I'm not doing something else correctly, but in that case I would expect the MetaMask extension not to work either. I also attempted to use a custom connector as described in the docs, but it did not make any difference, probably because "WC connectors are provided out of the box" and the connection does provide
https://docs.reown.com/appkit/javascript/core/custom-connectors
Wallet data received:
Account data received:
Provider:
Config:
I've attached screen captures of both MetaMask and mobile wallet (Binance) uses.
appkit-metamask.mov
appkit-qr-code.mov
List of related npm package versions
"@reown/appkit": "^1.6.2",
"@reown/appkit-adapter-ethers": "^1.6.2",
"@reown/appkit-adapter-wagmi": "^1.6.2",
"@reown/walletkit": "^1.1.2",
"viem": "^2.21.54",
"wagmi": "^2.13.3",
"web3": "^4.16.0",
Node.js Version
v22.8.0
Package Manager
yarn 1.22.19
The text was updated successfully, but these errors were encountered: