@htsoft/aiza-wallet-connector
Version:
Wallet connector lib
23 lines (22 loc) • 715 B
TypeScript
import type { InjectedConnector } from "@web3-react/injected-connector";
import type { WalletConnectConnector } from "@web3-react/walletconnect-connector";
import { Strings, Theme } from "./constants";
export declare type Web3ConfigurationContextType = {
networkId?: number;
rpcUrl?: string;
connectors?: {
walletConnectConnector?: WalletConnectConnector;
injectedConnector: InjectedConnector;
};
theme: typeof Theme;
strings: typeof Strings;
};
export declare enum ConnectorType {
WALLETCONNECT = "WALLETCONNECT",
INJECTED = "INJECTED"
}
export declare enum ModalType {
LIST_MODAL = "LIST_MODAL",
BID_MODAL = "BID_MODAL",
MANAGE_MODAL = "MANAGE_MODAL"
}