Appearance
Keys
This section contains various methods that are used to generate cryptographic key. It internally implements the following interfaces: Database
, IdPredictionOptions
.
Methods
generateKeys ( mnemonic?: string
, path?: string
) ⇒ KeyGenerationResult
Generates Ethereum and Cosmos key pairs from a provided or generated mnemonic and derivation path.
generateHdAddressIndex ( uuid: string
)
Map a UUID v4 to a 32-bit integer (Internal helper method)
generateSingleUseEthPubKey ( ethXPubKey: string
, uuid: string
) ⇒ KeyPairDetails
Generate a single-use Ethereum public key from an extended public key and a UUID.