UNPKG

@planetarium/account-web3-secret-storage

Version:

Libplanet account implementation using Ethereum Web3 Secret Storage

7 lines (6 loc) 243 B
import { KeyId } from "./KeyId.js"; export type Passphrase = Uint8Array | string; export interface PassphraseEntry { authenticate(keyId: KeyId, firstAttempt: boolean): Promise<Passphrase>; configurePassphrase(): Promise<Passphrase>; }