hypercerts
hypercerts copied to clipboard
Improve UX for ClaimAllFractionsButton
Describe the feature you'd like to request
For connected wallet of zero balance, the button of "Claim all fractions" will be disabled (code).
That results in :
- Confusing for EOA wallet users, not showing any errors on the frontend
- Unusable for smart contract wallet users, when paying gas fee through a third party (ex. ERC-4337 wallet)
Describe the solution you'd like
Remove balance checking (code). Leave the issue for the crypto wallet side.
Describe alternatives you've considered
Improve relevant error handling and message displayed (code).
The reason we went for this solution is that remarkably many users didn't understand why the transaction got rejected when having no balance. Admittedly, the UX on the reason why this button is disabled can be improved.
This will be worked on as part of the front-end refactor as discussed here: https://github.com/hypercerts-org/HIPs/discussions/5