@pharosnames/address-encoder
Version:
Encodes and decodes address formats for various cryptocurrencies with Pharos network support
7 lines • 660 B
TypeScript
export declare const createBech32Encoder: (hrp: string, limit?: number) => (source: Uint8Array) => string;
export declare const createBech32Decoder: (hrp: string, limit?: number) => (source: string) => Uint8Array;
export declare const createBech32mEncoder: (hrp: string, limit?: number) => (source: Uint8Array) => string;
export declare const createBech32mDecoder: (hrp: string, limit?: number) => (source: string) => Uint8Array;
export declare const createBech32SegwitEncoder: (hrp: string) => (source: Uint8Array) => string;
export declare const createBech32SegwitDecoder: (hrp: string) => (source: string) => Uint8Array;
//# sourceMappingURL=bech32.d.ts.map