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

Change HexPublicKeyToBech32Address to PublicKeyHash? #2080

Closed
Thoralf-M opened this issue Feb 27, 2024 · 1 comment · Fixed by #2135
Closed

Change HexPublicKeyToBech32Address to PublicKeyHash? #2080

Thoralf-M opened this issue Feb 27, 2024 · 1 comment · Fixed by #2135
Assignees
Labels
b-all Bindings - All

Comments

@Thoralf-M
Copy link
Member

Conversion to bech32 address can be done with AddressToBech32 and to get the public key hash one would need to convert it from bech32 back which is more annoying I think

In the bindings core we could replace it with Blake2b256Hash which could also be called in ComputeAccountId, ComputeNftId so we have less code there

@thibault-martinez
Copy link
Member

Closed by #2135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b-all Bindings - All
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants