UNPKG

chaingate

Version:

Multi-chain cryptocurrency SDK for TypeScript — unified API for Bitcoin, Ethereum, Litecoin, Dogecoin, Bitcoin Cash, Polygon, Arbitrum, and any EVM-compatible chain. Create wallets, query balances, send transactions, and manage tokens and NFTs across UTXO

14 lines (13 loc) 509 B
/** * Shared utilities for UTXO-family connectors (UtxoConnector, BchConnector). * * These functions are extracted to avoid code duplication between connectors * that share identical logic for private key extraction. * @internal */ import type { Wallet } from '../../Wallet/Wallet'; /** * Creates a function that extracts the private key from the wallet. * @internal */ export declare function createPrivateKeyGetter(wallet: Wallet, index: number, derivationPath: string): () => Promise<Uint8Array>;