Methods
deriveKey
- deriveKey(addressIndex?: number, password?: string): UserSecretKey
Parameters
- addressIndex: number = 0
- password: string = ""
getEntropy
- getEntropy(): Uint8Array<ArrayBufferLike>
Returns Uint8Array<ArrayBufferLike>
getWords
- getWords(): string[]
Returns string[]
toString
- toString(): string
Returns string
Static
assertTextIsValid
- assertTextIsValid(text: string): void
Returns void
Static
fromEntropy
- fromEntropy(entropy: Uint8Array<ArrayBufferLike>): Mnemonic
Parameters
- entropy: Uint8Array<ArrayBufferLike>