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

Get address from public key. #459

Open
Albert-Youngg opened this issue Mar 9, 2022 · 2 comments
Open

Get address from public key. #459

Albert-Youngg opened this issue Mar 9, 2022 · 2 comments

Comments

@Albert-Youngg
Copy link

How should I get the address from an uncompressed public key?
E.g:266fb003ce6647bfc7d04ca36b4c2a624b317bcf89e63ea4205f1d0c347081bfefd4c50cd59b66471444f29415ad2455ce20c84185278ad2716de38751e7926b

If I want to get the address through /construction/derive, which part of the public key should it be?

@catch-21
Copy link
Contributor

catch-21 commented Mar 9, 2022

@Yangxin-GG Is that a secret ket (private+public)? If so you want just the last half.

@Albert-Youngg
Copy link
Author

No, this is an uncompressed public key

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

No branches or pull requests

2 participants