@tmawallet/sdk
Version:
TMA Wallet SDK
11 lines (10 loc) • 454 B
TypeScript
import { AbstractStorage } from '../storage/AbstractStorage';
export declare class WalletBundleController {
readonly type: string;
private readonly storage;
constructor(type: string, storage: AbstractStorage);
private get key();
getWalletAddress(clientPublicKey: Uint8Array): Promise<string | null>;
storeWalletAddress(clientPublicKey: Uint8Array, walletAddress: string): Promise<void>;
clearWalletAddress(): Promise<void>;
}