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

WASM: add convenience methods to PublicAddress to work with hex #5699

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

andiflabs
Copy link
Contributor

Summary

Added methods to convert a hex string to a PublicAddress, as well as a method to check if a hex string is a valid address.

Removed the bytes() method, which is redundant and does the same job as serialize().

Testing Plan

  • Unit tests

Documentation

N/A

Breaking Change

N/A

Added methods to convert a hex string to a `PublicAddress`, as well as a
method to check if a hex string is a valid address.

Removed the `bytes()` method, which is redundant and does the same job
as `serialize()`.
@andiflabs andiflabs requested a review from a team as a code owner December 18, 2024 00:41
@andiflabs andiflabs merged commit c713738 into staging Dec 18, 2024
24 checks passed
@andiflabs andiflabs deleted the andrea/ironfish-rust-wasm-pub-addr-hex-methods branch December 18, 2024 01:47
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.

2 participants