@types/wifgrs
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/wifgrs

Weekly Downloads

16

Version

2.0.3

License

MIT

Unpacked Size

3.61 kB

Total Files

5

Last publish

Collaborators

  • types