@coinbase/onchaintestkit
Version:
End-to-end testing toolkit for blockchain applications, powered by Playwright
10 lines (9 loc) • 439 B
TypeScript
import type { Page } from "@playwright/test";
/**
* Imports a wallet using a seed phrase, password, and username
* @param page - The Playwright page object
* @param seedPhrase - The seed phrase to import
* @param password - The password to set for the wallet
* @param username - The username for the wallet
*/
export declare function importWallet(page: Page, seedPhrase: string, password: string, _username?: string): Promise<void>;