UNPKG

bech32-converting

Version:

This library is designed to convert bech32 addresses to hex and vice versa.

8 lines (7 loc) 203 B
declare module 'bech32-converting' { export = converter; function converter(prefix: string): { toHex: (address: string) => string; toBech32: (address: string) => string; }; }