@samouraiwallet/bip47
Version:
A set of utilities for working with BIP47 and bitcoinjs-lib
11 lines • 780 B
TypeScript
import type { Network } from './types.js';
export { hexToBytes, bytesToHex } from '@noble/hashes/utils';
export declare const networks: Record<'bitcoin' | 'regtest' | 'testnet', Network>;
export declare const bs58check: import("@scure/base").BytesCoder;
export declare function hmacSHA512(key: Uint8Array, data: Uint8Array): Uint8Array;
export declare function hash160(buffer: Uint8Array): Uint8Array;
export declare function xorUint8Arrays(a: Uint8Array, b: Uint8Array): Uint8Array;
export declare function getP2pkhAddress(pubkey: Uint8Array, network: Network): string;
export declare function getP2shAddress(pubkey: Uint8Array, network: Network): string;
export declare function getP2wpkhAddress(pubkey: Uint8Array, network: Network): string;
//# sourceMappingURL=utils.d.ts.map