@unilogin/sdk
Version:
SDK is a JS library, that communicates with relayer. SDK allows managing contract, by creating basic contract-calling messages.
13 lines • 571 B
TypeScript
import { Network } from '@unilogin/commons';
import { WalletStorage, SerializedWalletState } from '../models/WalletService';
import { IStorageService } from '../models/IStorageService';
export declare class WalletStorageService implements WalletStorage {
private storageService;
private storage;
private readonly STORAGE_KEY;
constructor(storageService: IStorageService, chainName: Network);
migrate(): Promise<void>;
load(): SerializedWalletState;
save(state: SerializedWalletState): void;
}
//# sourceMappingURL=WalletStorageService.d.ts.map