Proof-Of-Chaos / website

https://proofofchaos.app
MIT License
2 stars 2 forks source link

Need an option to disconnect a wallet #115

Closed anaelleparity closed 1 year ago

anaelleparity commented 1 year ago

Hello team,

It would be good to provide an option to disconnect a wallet once it has been connected.

Thanks.

niklasp commented 1 year ago

Do you have any example app where thats possible? Already raised an issue in the polkadot extension repo.

I can only imagine storing some flag in localstorage when a user does not automatically want to be reconnected?

anaelleparity commented 1 year ago

Hi @niklasp

There are Singular and KodaDOT.

Cheers.

niklasp commented 1 year ago

I checked the sites. I totally agree with you UX wise. The thing is, those sites do not really disconnect, i.e. disallow the site to read the wallet browser extensions (extensions, accounts). They just store a value in localstorage if wallets should be read from the extension.

What we really want is that after clicking disconnect, the user has to allow the site again to access the extension

Bildschirmfoto 2023-09-29 um 00 15 01

?

https://github.com/polkadot-js/extension/issues/1288

niklasp commented 1 year ago

its fixed in beta. beta.proofofchaos.vercel.app