- Preparing search index...
- The search index is not available
Lumos
default: { AccountExtendedPublicKey: typeof AccountExtendedPublicKey; AddressType: typeof AddressType; ExtendedPrivateKey: typeof ExtendedPrivateKey; ExtendedPublicKey: typeof ExtendedPublicKey; IncorrectPassword: typeof IncorrectPassword; InvalidKeystore: typeof InvalidKeystore; Keychain: typeof Keychain; Keystore: typeof Keystore; UnsupportedCipher: typeof UnsupportedCipher; XPubStore: typeof XPubStore; key: { privateKeyToBlake160: ((privateKey) => HexString); privateToPublic: { (privateKey): Buffer; (privateKey): HexString; }; publicKeyToBlake160: ((publicKey) => HexString); recoverFromSignature: ((message,
signature) => HexString); signRecoverable: ((message,
privateKey) => HexString); }; mnemonic: { entropyToMnemonic: ((entropyStr) => string); generateMnemonic: (() => string); mnemonicToEntropy: ((mnemonic?) => HexString); mnemonicToSeed: ((mnemonic?,
password?) => Promise<Buffer>); mnemonicToSeedSync: ((mnemonic?,
password?) => Buffer); validateMnemonic: ((mnemonic) => boolean); }; }
Type declaration
-
-
-
-
-
-
-
Keychain: typeof Keychain
-
Keystore: typeof Keystore
-
-
-
key: {
privateKeyToBlake160: ((privateKey) => HexString);
privateToPublic: {
(privateKey): Buffer;
(privateKey): HexString;
};
publicKeyToBlake160: ((publicKey) => HexString);
recoverFromSignature: ((message, signature) => HexString);
signRecoverable: ((message, privateKey) => HexString);
}
-
privateKeyToBlake160: ((privateKey) => HexString)
-
privateToPublic: {
(privateKey): Buffer;
(privateKey): HexString;
}
-
- (privateKey): Buffer
-
Returns Buffer
- (privateKey): HexString
-
-
publicKeyToBlake160: ((publicKey) => HexString)
-
recoverFromSignature: ((message, signature) => HexString)
-
- (message, signature): HexString
-
Parameters
-
message: string
-
signature: string
-
signRecoverable: ((message, privateKey) => HexString)
-
- (message, privateKey): HexString
-
Parameters
-
message: string
-
privateKey: string
-
mnemonic: {
entropyToMnemonic: ((entropyStr) => string);
generateMnemonic: (() => string);
mnemonicToEntropy: ((mnemonic?) => HexString);
mnemonicToSeed: ((mnemonic?, password?) => Promise<Buffer>);
mnemonicToSeedSync: ((mnemonic?, password?) => Buffer);
validateMnemonic: ((mnemonic) => boolean);
}
-
entropyToMnemonic: ((entropyStr) => string)
-
- (entropyStr): string
-
Returns string
-
generateMnemonic: (() => string)
-
- (): string
-
Returns string
-
mnemonicToEntropy: ((mnemonic?) => HexString)
-
mnemonicToSeed: ((mnemonic?, password?) => Promise<Buffer>)
-
- (mnemonic?, password?): Promise<Buffer>
-
Parameters
-
mnemonic: string = ""
-
password: string = ""
Returns Promise<Buffer>
-
mnemonicToSeedSync: ((mnemonic?, password?) => Buffer)
-
- (mnemonic?, password?): Buffer
-
Parameters
-
mnemonic: string = ""
-
password: string = ""
Returns Buffer
-
validateMnemonic: ((mnemonic) => boolean)
-
- (mnemonic): boolean
-
Returns boolean