PHP WebShell
Текущая директория: /opt/BitGoJS/modules/abstract-cosmos/dist/src/lib
Просмотр файла: keyPair.d.ts
import { DefaultKeys, KeyPairOptions, Secp256k1ExtendedKeyPair } from '@bitgo/sdk-core';
/**
* Cosmos keys and address management.
*/
export declare class CosmosKeyPair extends Secp256k1ExtendedKeyPair {
/**
* Public constructor. By default, creates a key pair with a random master seed.
* @param { KeyPairOptions } source Either a master seed, a private key (extended or raw), or a public key
* (extended, compressed, or uncompressed)
*/
constructor(source?: KeyPairOptions);
/**
* Cosmos default keys format: raw private and compressed public key
* @returns { DefaultKeys } The keys in the protocol default key format
*/
getKeys(): DefaultKeys;
}
//# sourceMappingURL=keyPair.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!