@yerofey/cryptowallet-cli 1.8.7 → 1.8.9
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 +9 -7
- package/package.json +3 -3
- package/src/utils.js +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://npmjs.com/@yerofey/cryptowallet-cli)
|
|
5
5
|
[](https://npmjs.com/package/@yerofey/cryptowallet-cli)
|
|
6
6
|
|
|
7
|
-
> Crypto wallet generator CLI tool
|
|
7
|
+
> Crypto wallet generator CLI tool
|
|
8
8
|
|
|
9
9
|

|
|
10
10
|
|
|
@@ -138,22 +138,24 @@ $ cw -l
|
|
|
138
138
|
- `-s` or `--suffix`: Specify desired suffix for the wallet address (**case-insensitive**)
|
|
139
139
|
- `-S` or `--suffix-sensitive`: Specify desired suffix for the wallet address (**case-sensitive**)
|
|
140
140
|
- `-v` or `--version`: Display current version of CW tool
|
|
141
|
-
|
|
141
|
+
|
|
142
|
+
**Currently not necessary options:**
|
|
143
|
+
|
|
142
144
|
- `-F` or `--filename`: Specify a filename (without extension) to output the data (works only with `-o` argument)
|
|
143
145
|
- `-o` or `--output`: Specify a file format (currently only `csv` supported) to output the generated data
|
|
144
146
|
|
|
145
147
|
## Node.js supported versions
|
|
146
148
|
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
149
|
+
- [x] v16.x ✅
|
|
150
|
+
- [ ] v17.x ⛔
|
|
151
|
+
- [x] v18.x ✅
|
|
152
|
+
- [x] v19.x ✅
|
|
151
153
|
|
|
152
154
|
*tested on Mac M1*
|
|
153
155
|
|
|
154
156
|
## TODO
|
|
155
157
|
|
|
156
|
-
- [ ] Windows
|
|
158
|
+
- [ ] Test if is working on Windows (should be, actually)
|
|
157
159
|
- [ ] SegWit Bech32 wallet address support for all Bitcoin forks
|
|
158
160
|
- [ ] More EVM compatible cryptos
|
|
159
161
|
- [ ] tests
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yerofey/cryptowallet-cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"description": "Crypto wallet generator CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/yerofey/cryptowallet-cli",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"tronweb": "5.0.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"ava": "^5.
|
|
89
|
-
"eslint": "^8.
|
|
88
|
+
"ava": "^5.2.0",
|
|
89
|
+
"eslint": "^8.34.0"
|
|
90
90
|
}
|
|
91
91
|
}
|
package/src/utils.js
CHANGED
|
@@ -34,7 +34,7 @@ const objectHasAllKeys = (obj, keysArray) =>
|
|
|
34
34
|
|
|
35
35
|
let supportedChains = [];
|
|
36
36
|
// eslint-disable-next-line no-undef
|
|
37
|
-
const chainsFolder = `${path.dirname(import.meta.url)}/chains/`.replace('file://', '');
|
|
37
|
+
const chainsFolder = `${path.dirname(decodeURIComponent(import.meta.url))}/chains/`.replace('file://', '');
|
|
38
38
|
filesList(chainsFolder).forEach((item) => {
|
|
39
39
|
const name = item.replace(chainsFolder, '').replace('.json', '');
|
|
40
40
|
supportedChains.push(name);
|