@near-wallet-selector/wallet-connect
Version:
Wallet Connect package for NEAR Wallet Selector.
14 lines (13 loc) • 583 B
TypeScript
import type { SignClientTypes } from "@walletconnect/types";
import type { WalletModuleFactory, BridgeWallet } from "@near-wallet-selector/core";
export interface WalletConnectParams {
projectId: string;
metadata: SignClientTypes.Metadata;
relayUrl?: string;
iconUrl?: string;
chainId?: string;
deprecated?: boolean;
methods?: Array<string>;
events?: Array<string>;
}
export declare function setupWalletConnect({ projectId, metadata, chainId, relayUrl, iconUrl, deprecated, methods, events, }: WalletConnectParams): WalletModuleFactory<BridgeWallet>;