btc-wallet 0.2.4 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare function BtcWalletSelectorContextProvider({ children, autoConnect }: {
2
+ export declare function BtcWalletSelectorContextProvider({ children, autoConnect, }: {
3
3
  children: React.ReactNode;
4
4
  autoConnect?: boolean;
5
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -12,4 +12,7 @@ export declare function useBtcWalletSelector(): {
12
12
  signMessage: (msg: string) => any;
13
13
  getContext: () => any;
14
14
  getBalance: () => Promise<any>;
15
+ sendBitcoin: (toAddress: string, satoshis: number, options?: {
16
+ feeRate: number;
17
+ }) => Promise<string>;
15
18
  };
@@ -0,0 +1,14 @@
1
+ export declare const walletConfig: Record<string, {
2
+ base_url: string;
3
+ token: string;
4
+ contractId: string;
5
+ walletUrl: string;
6
+ }>;
7
+ export declare const nearRpcUrls: {
8
+ mainnet: string[];
9
+ testnet: string[];
10
+ };
11
+ export declare const btcRpcUrls: {
12
+ mainnet: string;
13
+ testnet: string;
14
+ };