PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@polkadot/keyring/pair
Просмотр файла: decode.d.ts
import type { EncryptedJsonEncoding } from '@polkadot/util-crypto/types';
/**
* Decode a pair, taking into account the generation-specific formats and headers
*
* For divisor/headers, don't rely on the magic being static. These will
* change between generations, aka with the long-awaited 4th generation
* of the format. The external decode interface is the only way to use and decode these.
**/
export declare function decodePair(passphrase?: string, encrypted?: Uint8Array | null, _encType?: EncryptedJsonEncoding | EncryptedJsonEncoding[]): {
publicKey: Uint8Array;
secretKey: Uint8Array;
};
Выполнить команду
Для локальной разработки. Не используйте в интернете!