@atomiqlabs/sdk
Version:
atomiq labs SDK for cross-chain swaps between smart chains and bitcoin
8 lines (7 loc) • 434 B
TypeScript
import { IBitcoinWallet } from "../bitcoin/wallet/IBitcoinWallet";
import { BTC_NETWORK } from "@scure/btc-signer/utils";
import { BitcoinNetwork, BitcoinRpcWithAddressIndex } from "@atomiqlabs/base";
export declare function toBitcoinWallet(_bitcoinWallet: IBitcoinWallet | {
address: string;
publicKey: string;
}, btcRpc: BitcoinRpcWithAddressIndex<any>, bitcoinNetwork: BTC_NETWORK | BitcoinNetwork): IBitcoinWallet;