UNPKG

@imikailoby/sats

Version:

Tiny non-custodial Bitcoin SDK (TS) — keys, addresses, PSBT, provider chain

7 lines (6 loc) 231 B
import type * as bitcoin from "bitcoinjs-lib"; import type { ECPairInterface } from "ecpair"; /** * Adapt ECPairInterface to bitcoinjs-lib Signer. */ export declare function ecPairToSigner(pair: ECPairInterface): bitcoin.Signer;