@mai3/phaser-sdk
Version:
A UI component library based on the Phaser game engine
20 lines • 889 B
TypeScript
import { ConnectSOLWalletButtonConfig } from "../types";
import { AppKit } from "@reown/appkit";
export declare class SOLConnector {
private static config;
private static solanaWeb3JsAdapter;
static connector: AppKit;
private static walletChanged?;
private static onSigned?;
static init(config: ConnectSOLWalletButtonConfig, walletChanged?: (wallet: unknown, address?: string) => void, onSigned?: (signMessage: string, signature: string, address?: string) => void): Promise<SOLConnector>;
static getInstance(): Promise<SOLConnector>;
static openModal(): Promise<void>;
static disconnect(): Promise<void>;
static getAccountAddress(): string | undefined;
private static isSigning;
static signMessage(str: string): Promise<{
signMessage: string;
signature: string;
} | undefined>;
}
//# sourceMappingURL=SOLConnetor.d.ts.map