ethers.js/lib.esm/wallet/index.js
2022-12-02 21:27:06 -05:00

25 lines
1.1 KiB
JavaScript

/**
* 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 [wallets]
*/
export { BaseWallet } from "./base-wallet.js";
export { defaultPath, getAccountPath, 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";
//# sourceMappingURL=index.js.map