UNPKG

@coinbase/onchaintestkit

Version:

End-to-end testing toolkit for blockchain applications, powered by Playwright

11 lines (10 loc) 520 B
import type { Page } from "@playwright/test"; import type { SupportedChain } from "../../../types"; /** * Imports a new single-chain account via private key on the Phantom Home page * @param page - The Phantom extension page * @param name - The display name for the imported account * @param chain - The chain to import the account on * @param privateKey - The private key to import */ export declare const addNewAccount: (_page: Page, _name: string, _chain: SupportedChain, _privateKey: string) => Promise<void>;