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

Ethereum pulbic keys #661

Open
2011 opened this issue Mar 8, 2024 · 3 comments
Open

Ethereum pulbic keys #661

2011 opened this issue Mar 8, 2024 · 3 comments

Comments

@2011
Copy link

2011 commented Mar 8, 2024

I hope I didn't miss something very basic here, but (if I understand) Ethereum uses 512-bit public keys, but the bip39 tool (in the "Derived Addresses" section) shows only a 256-bit public key (plus a 0x02 or 0x03 prefix).

How do I get the entire 512-bit Ethereum public key?

@wigy-opensource-developer

In BIP32 that most wallets use for deriving addresses, 512 bits are used for extended private keys, half of which is used for a given address, the other half (chain code) for randomizing derivation. But the actual signing uses only a 256 bit private key.

@2011
Copy link
Author

2011 commented Mar 11, 2024

In BIP32 that most wallets use for deriving addresses, 512 bits are used for extended private keys, half of which is used for a given address, the other half (chain code) for randomizing derivation. But the actual signing uses only a 256 bit private key.

I don't understand your reply. Addresses get calculated from public keys (which, of course, do come from private keys). Ethereum uses the entire (uncompressed) 512-bit public key to produce addresses.

https://medium.com/coinmonks/calculation-behind-ethereum-wallet-address-d2aa43ee1e37

Since the BIP 39 page must have the full public key to compute Ethereum addresses, I would like the option to display the full public key in the "Derived Addresses" section.

@Success-Guy
Copy link

I hope this project can help you out with your findings
https://github.com/ConsenSys/eth-lightwallet

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

3 participants