ethershell 0.1.0-alpha.5 → 0.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -1
- package/src/services/wallet.js +8 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ethershell",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.8",
|
|
4
4
|
"description": "Interactive JavaScript console for Ethereum smart contract management",
|
|
5
|
+
"license": "BUSL-1.1",
|
|
5
6
|
"author": "Alireza Kiakojouri (alirezaethdev@gmail.com)",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
package/src/services/wallet.js
CHANGED
|
@@ -14,6 +14,14 @@ import {
|
|
|
14
14
|
getAccountInfo,
|
|
15
15
|
detectDupWallet
|
|
16
16
|
} from '../utils/accounter.js';
|
|
17
|
+
import fs from 'fs';
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Object containing all stored accounts (imported, generated, HD, and node-managed)
|
|
22
|
+
* @type {Object}
|
|
23
|
+
*/
|
|
24
|
+
let walletJSON;
|
|
17
25
|
|
|
18
26
|
/**
|
|
19
27
|
* Array containing all accounts (imported, generated, HD, and node-managed)
|