MnemonicPhrase

A validated BIP-39 phrase whose textual form is redacted by default.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun derivePrivateKey(path: AptosDerivationPath.Ed25519 = AptosDerivationPath.Ed25519(), passphrase: String = ""): Ed25519PrivateKey
Link copied to clipboard
fun deriveSecp256k1PrivateKey(path: AptosDerivationPath.Ecdsa = AptosDerivationPath.Ecdsa(), passphrase: String = ""): Secp256k1PrivateKey
Link copied to clipboard
fun deriveSecp256r1PrivateKey(path: AptosDerivationPath.Ecdsa = AptosDerivationPath.Ecdsa(), passphrase: String = ""): Secp256r1PrivateKey
Link copied to clipboard
fun reveal(): String

Explicitly reveal the mnemonic for secure application-controlled storage.

Link copied to clipboard
open override fun toString(): String