Open nigeon opened 9 months ago
I rename the issue to also track other possible Wallet
flows that need review, like adding a ConfirmModal
for Actions when the logged in account is a Wallet
instead of a Signer
(since signers will have to manually confirm the sign of a transaction, while Wallets do it in the background, making it silent for the end-user).
Set on hold since there's nothing that can be done here, at least not that we can think of.
The conditions are properly set here, the issues arise when using rainbowkit v2 (using wagmi/viem), since you need to convert ethers wallets to signers using an adapter, but ui-components are totally unaware of the wallet library used... the only fixes we could think of were altering the wallet object, but such alteration would require it to be always done by the end developers...
When logged in using OAuth (oauth walet), voting page asks for a signature and when clicked it lets you vote without any input (probably a modal should be shown).
Refreshing the page doesn't recognize you and lets you vote again, even though looks like the vote will be overwritten (if possible).