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 have managed to get the webwallet working in my Next.js app with starknet react by upgrading my app to use
starknet@6.11.0
starknet-react@3.0.0-beta.2
starknetkit@2.2.26
Everything kinda works out of the box but the account field that is returned by the useAccount from starknet-react always contains an empty string instead of the actual address, even though I can see that the connector is fetching the accounts from the wallet successfully.
The issue is also present in the example dapp. Everything works but the address is not shown in the UI.
I managed to "fix" it by subclassing the connector and setting the address in the account method manually:
hi @jisensee, thanks for opening the issue
we're currently waiting for starknet-react to publish the latest version in order to make all the fixes needed
I have managed to get the webwallet working in my Next.js app with starknet react by upgrading my app to use
Everything kinda works out of the box but the
account
field that is returned by theuseAccount
from starknet-react always contains an empty string instead of the actual address, even though I can see that the connector is fetching the accounts from the wallet successfully.The issue is also present in the example dapp. Everything works but the address is not shown in the UI.
I managed to "fix" it by subclassing the connector and setting the address in the account method manually:
So this seems like an issue with the connector implementation and not with starknet-react to me.
The text was updated successfully, but these errors were encountered: