casper-js-sdk
Version:
SDK to interact with the Casper blockchain
6 lines (5 loc) • 343 B
TypeScript
/// <reference types="node" />
type KeyFormat = 'raw' | 'pem' | 'der';
export declare function encodePrivate(privateKey: string | Buffer, originalFormat: KeyFormat, destinationFormat: KeyFormat): any;
export declare function encodePublic(publicKey: string | Buffer, originalFormat: KeyFormat, destinationFormat: KeyFormat): string;
export {};