Skip to content

Validate address format before running address checker #8120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Dianaaiym opened this issue May 21, 2025 · 1 comment
Open

Validate address format before running address checker #8120

Dianaaiym opened this issue May 21, 2025 · 1 comment
Assignees
Labels
enhancement Enhancement of existing feature

Comments

@Dianaaiym
Copy link
Collaborator

Currently, the Address Checker (Blacklist, Sanctions, Phishing) runs validation even if the entered address is clearly malformed or invalid. This leads to unnecessary checks and a confusing UX. We need to first validate the address format based on the selected blockchain, and only run the checks if the address is structurally valid.

@Dianaaiym Dianaaiym added the enhancement Enhancement of existing feature label May 21, 2025
@Dianaaiym Dianaaiym moved this to Todo in Version 0.43 May 21, 2025
@rafaelekol rafaelekol self-assigned this May 21, 2025
@rafaelekol rafaelekol moved this from Todo to In Progress in Version 0.43 May 21, 2025
@Dianaaiym
Copy link
Collaborator Author

Update UI behavior for invalid address input in two contexts:

Send Screen: Highlight the address field and disable the "Send" button without showing an error message "Invalid Address".

Settings → Address Checker: Highlight the address field and display an error message if the input is invalid.

@rafaelekol rafaelekol moved this from In Progress to Done in Version 0.43 May 27, 2025
@rafaelekol rafaelekol moved this from Done to Waiting for testing in Version 0.43 May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature
Projects
Status: Waiting for testing
Development

No branches or pull requests

2 participants