@dappykit/sdk
Version:
Web3 SDK for DApps
23 lines (22 loc) • 590 B
TypeScript
import { HDAccount } from 'viem/accounts';
import { ISigner } from '../../src/service/delegated-fs/interfaces';
/**
* ISigner with address
*/
interface ISignerWithAddress extends ISigner {
address: string;
}
/**
* Generate a random mnemonic phrase
*/
export declare function createRandomMnemonic(): string;
/**
* Generate a random wallet
*/
export declare function createRandomWallet(mnemonic?: string): HDAccount;
/**
* Create a ISigner wallet
* @param mnemonic Mnemonic phrase
*/
export declare function createISignerWallet(mnemonic?: string): ISignerWithAddress;
export {};