ethers.js/lib.esm/wallet/index.d.ts

27 lines
1.3 KiB
TypeScript
Raw Normal View History

2022-11-30 23:44:23 +03:00
/**
* 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.
*
2023-02-13 06:14:26 +03:00
* @_section: api/wallet:Wallets [about-wallets]
2022-11-30 23:44:23 +03:00
*/
export { BaseWallet } from "./base-wallet.js";
2023-04-06 11:37:10 +03:00
export { defaultPath, getAccountPath, getIndexedAccountPath, HDNodeWallet, HDNodeVoidWallet, } from "./hdwallet.js";
2022-09-05 23:57:11 +03:00
export { isCrowdsaleJson, decryptCrowdsaleJson } from "./json-crowdsale.js";
2022-11-30 23:44:23 +03:00
export { isKeystoreJson, decryptKeystoreJsonSync, decryptKeystoreJson, encryptKeystoreJson, encryptKeystoreJsonSync } from "./json-keystore.js";
2022-09-05 23:57:11 +03:00
export { Mnemonic } from "./mnemonic.js";
export { Wallet } from "./wallet.js";
2022-09-16 05:58:45 +03:00
export type { CrowdsaleAccount } from "./json-crowdsale.js";
2022-11-10 12:05:51 +03:00
export type { KeystoreAccount, EncryptOptions } from "./json-keystore.js";
2022-09-05 23:57:11 +03:00
//# sourceMappingURL=index.d.ts.map