@coinbase/onchaintestkit
Version:
End-to-end testing toolkit for blockchain applications, powered by Playwright
9 lines (8 loc) • 381 B
TypeScript
import type { Page } from "@playwright/test";
/**
* Imports a wallet using a private key and password during onboarding
* @param page - The Playwright page object
* @param privateKey - The private key to import
* @param password - The password to set for the wallet
*/
export declare function importPrivateKey(page: Page, privateKey: string, password: string): Promise<void>;