Creates an instance of PrivateKey.
32-byte seed used to create the key
The ED25519 key material
Returns the public key.
Sign a message
The message
Returns an address derived from the private key
Returns base58 encode string of the private key
Returns the private key as a buffer. The base58 version is added as the 0th byte in the returned buffer
Instantiate a PrivateKey from a base58 encoded private key string
The base58 encoded private keys
Instantiate a PrivateKey from a buffer. The buffer's 0th index must contain the private key version.
PrivateKey represents an Ed25519 key use for constructing an Ellcrys address, signing and verifying a signed messages.
PrivateKey