PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/abstract-eth/dist/src/lib

Просмотр файла: keyPair.d.ts

import { DefaultKeys, KeyPairOptions, Secp256k1ExtendedKeyPair } from '@bitgo/sdk-core';
/**
 * Ethereum keys and address management.
 */
export declare class KeyPair 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);
    /**
     * Ethereum default keys format is raw private and uncompressed public key
     *
     * @returns { DefaultKeys } The keys in the protocol default key format
     */
    getKeys(): DefaultKeys;
    /**
     * Get an Ethereum public address
     *
     * @returns {string} The address derived from the public key
     */
    getAddress(): string;
}
//# sourceMappingURL=keyPair.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!