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) 743 B
import type { Wallet } from '@near-wallet-selector/core'; import { type ENV } from '../config'; interface setupWalletButtonOptions { env: ENV; nearWallet: Wallet; btcWallet?: OriginalWallet; walletUrl?: string; draggable?: boolean; initialPosition?: { right: string; bottom: string; }; buttonSize?: string; mobileButtonSize?: string; } interface OriginalWallet { account: string | undefined; getPublicKey: () => Promise<string | undefined>; } export declare function setupWalletButton({ env, nearWallet, btcWallet, walletUrl, draggable, initialPosition, buttonSize, mobileButtonSize, }: setupWalletButtonOptions): void; export declare function removeWalletButton(): void; export {};