UNPKG

btc-wallet

Version:

BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.

23 lines (22 loc) 807 B
import type { InjectedWallet, WalletModuleFactory } from '@near-wallet-selector/core'; import type { useBtcWalletSelector } from '../btcWalletSelectorContext'; import type { ENV } from '../../config'; declare global { interface Window { btcContext: ReturnType<typeof useBtcWalletSelector>; } } interface BTCWalletParams { iconUrl?: string; deprecated?: boolean; autoConnect?: boolean; syncLogOut?: boolean; env?: ENV; walletUrl?: string; gasStrategy?: 'auto' | 'near' | 'btc'; } export declare function setupBTCWallet({ iconUrl, deprecated, autoConnect, syncLogOut, env, walletUrl, gasStrategy, }?: BTCWalletParams | undefined): WalletModuleFactory<InjectedWallet>; declare const _default: { setupBTCWallet: typeof setupBTCWallet; }; export default _default;