This PR adds convenience methods to get the (Ethereum) address and public key from an HD node.
Why use a function instead of a getter?
The method for deriving a public key from a private key can be async (in the case of ed25519 for example), so it had to be an async function.
Needs to be rebased after #43 is merged.Done.This PR adds convenience methods to get the (Ethereum) address and public key from an HD node.
Why use a function instead of a getter? The method for deriving a public key from a private key can be async (in the case of
ed25519
for example), so it had to be an async function.Closes #45.