Decrypt an encrypted mnemonic phrase with a password. Legacy triplesec encrypted payloads are also supported.
Password for data
the raw mnemonic phrase
Encrypt a raw mnemonic phrase to be password protected
Raw mnemonic phrase
Password to encrypt mnemonic with
The encrypted phrase
Restore identities by recursively making a new identity, and checking if it has a username.
As soon as a username is not found for an identity, the recursion stops.
Register a subdomain for a given identity
Validate the format and availability of a subdomain. Will return an error of enum IdentityNameValidityError if an error is present. If no errors are found, will return null.
the subdomain to be registered
a valid Subdomains enum
Generated using TypeDoc
@stacks/keychain
Create and manage keys/wallets for the Stacks blockchain.
Installation
Mnemonic
Generate encrypted mnemonic
Restore keychain from mnemonic
Encryption
Encrypt and decrypt
Wallet
Generate and restore wallet
Get profile from auth response
Get a STX address