Implements a BIP39 mnemonic wallet with standard key derivation from a word list. Note that this implementation exposes the private key in memory, so it is not advised to use for applications requiring high security.
Creates a new signing key from a mnemonic phrase. If no mnemonic is provided, one will be automatically generated.
Space-separated mnemonic phrase.
Raw private key, in bytes.
Terra account address.
Terra validator address.
You will need to supply
sign, which produces a signature for an arbitrary bytes payload
with the ECDSA curve secp256pk1.