PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-core/dist/src/account-lib/baseCoin

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

import { AddressFormat } from './enum';
/**
 * Base keys and address management.
 */
export interface BaseKeyPair {
    /**
     * Build a set of keys from a prv
     *
     * @param {string} prv A raw private key
     */
    recordKeysFromPrivateKey(prv: string): void;
    /**
     * Build a set of keys from a pub
     *
     * @param {string} pub A raw pub key
     */
    recordKeysFromPublicKey(pub: string): void;
    /**
     * Returns the keys in the protocol default key format
     */
    getKeys(): any;
    /**
     * Returns the address in the protocol default format
     */
    getAddress(format?: AddressFormat): string;
}
//# sourceMappingURL=baseKeyPair.d.ts.map

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


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