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

sdk-common: Expose if BIP353 is used for parsing #1164

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danielgranhao
Copy link
Contributor

@danielgranhao danielgranhao commented Feb 4, 2025

This adds a bip353_address field to Bolt12 and LnUrlPay input types to allow users of parse() to tell if a particular input was a BIP353 address.

This is needed in the nodeless SDK for breez/breez-sdk-liquid#714.

@roeierez
Copy link
Member

roeierez commented Feb 4, 2025

Looks good to me, I just prefer to review this once again together with the PR for breez/breez-sdk-liquid#714.

@danielgranhao danielgranhao marked this pull request as draft February 4, 2025 15:54
Copy link
Contributor

@erdemyerebasmaz erdemyerebasmaz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@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.

Concept ACK. Need flutter/bindings updating

@erdemyerebasmaz
Copy link
Contributor

erdemyerebasmaz commented Feb 4, 2025

Concept ACK. Need flutter/bindings updating

Done. Updated InputType mirror and mirrored external crate objects for Bip353Address 027997c

CC: @danielgranhao

@danielgranhao danielgranhao force-pushed the daniel-expose-bip353-usage branch 3 times, most recently from e53f76a to aac8d2f Compare February 4, 2025 18:05
@danielgranhao danielgranhao marked this pull request as ready for review February 4, 2025 18:24
@danielgranhao danielgranhao force-pushed the daniel-expose-bip353-usage branch from 3222a5a to ec87da4 Compare February 5, 2025 12:29
@danielgranhao
Copy link
Contributor Author

Looks good to me, I just prefer to review this once again together with the PR for breez/breez-sdk-liquid#714.

@roeierez Ready: breez/breez-sdk-liquid#718

@danielgranhao
Copy link
Contributor Author

Adjusted the PR according to the feedback from breez/breez-sdk-liquid#718 (comment)

@danielgranhao danielgranhao force-pushed the daniel-expose-bip353-usage branch from f6951d1 to 43a2000 Compare February 6, 2025 14:05
Copy link
Contributor

@erdemyerebasmaz erdemyerebasmaz left a comment

Choose a reason for hiding this comment

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

LGTM

One NIT comment regarding documentation.

libs/sdk-common/src/input_parser.rs Outdated Show resolved Hide resolved
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.

4 participants