- Preparing search index...
- The search index is not available
Stacks.js
Function generateNewAccount
- generateNewAccount(wallet: Wallet): {
accounts: Account[];
configPrivateKey: string;
encryptedSecretKey: string;
rootKey: string;
salt: string;
}
-
Returns {
accounts: Account[];
configPrivateKey: string;
encryptedSecretKey: string;
rootKey: string;
salt: string;
}
-
-
configPrivateKey: string
-
encryptedSecretKey: string
-
rootKey: string
-
salt: string
A private key used to encrypt configuration data