Installation
npm install --save @types/wifgrs
Summary
This package contains type definitions for wifgrs (https://github.com/Groestlcoin/wifgrs).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wifgrs.
index.d.ts
/// <reference types="node"/>
export interface WIFReturn {
readonly version: number;
readonly privateKey: Buffer;
readonly compressed: boolean;
}
export function decodeRaw(buffer: Buffer, version?: number): WIFReturn;
export function decode(string: string, version?: number): WIFReturn;
export function encodeRaw(
version: number,
privateKey: Buffer,
compressed: boolean,
): Buffer;
export function encode(
version: number,
privateKey: Buffer,
compressed: boolean,
): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node
Credits
These definitions were written by Gruve-p.