All files / ethers.js/src.ts/wallet index.ts

100% Statements 47/47
100% Branches 0/0
100% Functions 0/0
100% Lines 47/47

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 481x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 *  When interacting with Ethereum, it is necessary to use a private
 *  key authenticate actions by signing a payload.
 *
 *  Wallets are the simplest way to expose the concept of an
 *  //Externally Owner Account// (EOA) as it wraps a private key
 *  and supports high-level methods to sign common types of interaction
 *  and send transactions.
 *
 *  The class most developers will want to use is [[Wallet]], which
 *  can load a private key directly or from any common wallet format.
 *
 *  The [[HDNodeWallet]] can be used when it is necessary to access
 *  low-level details of how an HD wallets are derived, exported
 *  or imported.
 *
 *  @_section: api/wallet:Wallets  [about-wallets]
 */
 
export { BaseWallet } from "./base-wallet.js";
 
export {
    defaultPath,
 
    getAccountPath, getIndexedAccountPath,
 
    HDNodeWallet,
    HDNodeVoidWallet,
} from "./hdwallet.js";
 
export { isCrowdsaleJson, decryptCrowdsaleJson } from "./json-crowdsale.js";
 
export {
    isKeystoreJson,
    decryptKeystoreJsonSync, decryptKeystoreJson,
    encryptKeystoreJson, encryptKeystoreJsonSync
} from "./json-keystore.js";
 
export { Mnemonic } from "./mnemonic.js";
 
export { Wallet } from "./wallet.js";
 
 
export type { CrowdsaleAccount } from "./json-crowdsale.js";
export type {
    KeystoreAccount, EncryptOptions
} from "./json-keystore.js"