Skip to content
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

Improve BTC address validation on BitcoinAddressTextFormField #145

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

erdemyerebasmaz
Copy link
Collaborator

Closes #144

  • Improve state management of BitcoinAddressTextFormField's validator
  • Remove BitcoinAddressInfo and rely on SDK for parsing
  • Rename addIncomingInput's bolt11 param to input

@erdemyerebasmaz erdemyerebasmaz force-pushed the btc_address_validation branch from eb6b1ad to f722c2c Compare August 9, 2024 14:31
Closes #144

* Remove `BitcoinAddressInfo` and rely on SDK for parsing
@erdemyerebasmaz erdemyerebasmaz force-pushed the btc_address_validation branch from f722c2c to f6c258a Compare August 9, 2024 14:41
Copy link
Contributor

@dangeross dangeross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Is it worth making the widget reusable for a Liquid address also?

@erdemyerebasmaz
Copy link
Collaborator Author

LGTM. Is it worth making the widget reusable for a Liquid address also?

Yes, we can validate based on address type once Liquid address changes are finalized & integrated.

@erdemyerebasmaz erdemyerebasmaz merged commit 66802e2 into main Aug 20, 2024
1 check passed
@erdemyerebasmaz erdemyerebasmaz deleted the btc_address_validation branch September 6, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scaning a BTC Address QR does not work
2 participants