Module
Network.Ethereum.Core.Signatures
- Package
- purescript-eth-core
- Repository
- f-o-a-m/purescript-eth-core
#unPublicKey Source
unPublicKey :: PublicKey -> HexStringGet the underlying HexString representation of a PublicKey.
#mkPublicKey Source
mkPublicKey :: HexString -> Maybe PublicKeyAttempt to construct a PublicKey from a HexString
#unPrivateKey Source
unPrivateKey :: PrivateKey -> HexStringGet the underlying HexString representation of a PrivateKey
#mkPrivateKey Source
mkPrivateKey :: HexString -> Maybe PrivateKey#privateToPublic Source
privateToPublic :: PrivateKey -> PublicKeyProduce the PublicKey for the corresponding PrivateKey.
#privateToAddress Source
privateToAddress :: PrivateKey -> AddressProduce the Address corresponding to the PrivateKey.
#publicToAddress Source
publicToAddress :: PublicKey -> AddressProduce the Address corresponding to the PublicKey
#signMessage Source
signMessage :: PrivateKey -> ByteString -> SignatureSign the message with a PrivateKey
#recoverSender Source
recoverSender :: ByteString -> Signature -> PublicKeyRecover the sender of the message from the Signature.