2.0.3 • Published 6 months ago
@types/wifgrs v2.0.3
Installation
npm install --save @types/wifgrs
Summary
This package contains type definitions for wif (https://github.com/Groestlcoin/wifgrs).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wifgrs.
index.d.ts
// Type definitions for wif 2.0
// Project: https://github.com/Groestlcoin/wifgrs
// Definitions by: Gruve-p <https://github.com/gruve-p>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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: Thu, 10 Mar 2022 06:31:44 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Gruve-p.