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

Unable to get: uncompressed public key / address / Y coordinate #275

Open
k6xiao opened this issue Apr 2, 2022 · 1 comment
Open

Unable to get: uncompressed public key / address / Y coordinate #275

k6xiao opened this issue Apr 2, 2022 · 1 comment

Comments

@k6xiao
Copy link

k6xiao commented Apr 2, 2022

PublicKey = ellipse X coordinate

uncompressedPublicKey = prefix 04 + ellipse X coordinate + ellipse y coordinate

$address = "0x" .substr(Keccak::hash(substr(hex2bin($uncompressedPublicKey), 1), 256), 24);

How to get the Y coordinate / uncompressed public key, and then get the address?

@fanatid
Copy link
Contributor

fanatid commented Apr 5, 2022

.getPublic()?
Anyway, please submit more info.

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