We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ib cardano we have next methods
Generate extended public key from private key toXPub :: HasCallStack => XPrv -> XPub toXPub (XPrv ekey) = XPub pub (ChainCode cc) where (_,r) = B.splitAt 64 $ convert ekey (pub, cc) = B.splitAt 32 r Return the Ed25519 public key associated with a XPub context xPubGetPublicKey :: XPub -> Ed25519.PublicKey xPubGetPublicKey (XPub pub _) = throwCryptoError $ Ed25519.publicKey pub
How can we get Ed25519.SecretKey from XPrv ? Ed25519.SecretKey expects 32 bytes, how to map first XPriv 64 bytes to Ed25519.SecretKey ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ib cardano we have next methods
How can we get Ed25519.SecretKey from XPrv ?
Ed25519.SecretKey expects 32 bytes, how to map first XPriv 64 bytes to Ed25519.SecretKey ?
The text was updated successfully, but these errors were encountered: