@yerofey/cryptowallet-cli 1.8.4 → 1.8.5
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 +40 -20
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
# cryptowallet-cli
|
|
1
|
+
# cryptowallet-cli [](https://GitHub.com/yerofey/cryptowallet-cli/stargazers/)
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.com/@yerofey/cryptowallet-cli)
|
|
4
|
+
[](https://npmjs.com/@yerofey/cryptowallet-cli)
|
|
5
|
+
[](https://npmjs.com/package/@yerofey/cryptowallet-cli)
|
|
2
6
|
|
|
3
7
|
> Crypto wallet generator CLI tool (currently works only on Mac and Linux, sorry Windows users)
|
|
4
8
|
|
|
5
9
|

|
|
6
10
|
|
|
7
|
-
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- [x] Generate new crypto wallet offline
|
|
14
|
+
- [x] Generate wallet address with prefix (string at the start): [`-p`]
|
|
15
|
+
- [x] Generate wallet address with suffix (string at the end): [`-s`]
|
|
16
|
+
- [x] Generate wallet with different formats (for Bitcoin: Legacy, SegWit, Bech32; for BNB: BEP2, BEP20): [`-f`]
|
|
17
|
+
- [x] Generate wallet from your desired mnemonic string: [`-m`]
|
|
18
|
+
- [x] Generate only mnemonic string: [`-m`]
|
|
19
|
+
- [x] Generate a lot of wallets at once: [`-n`]
|
|
20
|
+
- [x] Save result into a CSV file: [`--csv`]
|
|
21
|
+
|
|
22
|
+
*check the Options section for all supported commands*
|
|
8
23
|
|
|
9
24
|
## Install
|
|
10
25
|
|
|
@@ -25,18 +40,27 @@ $ yarn global add @yerofey/cryptowallet-cli
|
|
|
25
40
|
# generate random ERC-like wallet (ETH, BNB, POLYGON, ...)
|
|
26
41
|
$ cw
|
|
27
42
|
|
|
43
|
+
# generate random BTC wallet (default format: bech32 - "bc1q...")
|
|
44
|
+
$ cw -c btc
|
|
45
|
+
|
|
46
|
+
# generate N random wallets (default coin is ETH/ERC-like)
|
|
47
|
+
$ cw -n 10
|
|
48
|
+
|
|
28
49
|
# generate random ERC-like wallet with desired prefix
|
|
29
50
|
$ cw -p aaa
|
|
30
51
|
|
|
31
|
-
# generate random BTC wallet (default format: bech32 - "bc1q...")
|
|
32
|
-
$ cw -c BTC
|
|
33
|
-
|
|
34
52
|
# generate random BTC wallet with desired prefix (case-insensitive)
|
|
35
53
|
$ cw -c BTC -p ABC
|
|
36
54
|
|
|
37
55
|
# generate random BTC wallet with desired prefix (case-sensitive)
|
|
38
56
|
$ cw -c BTC -P abc
|
|
39
57
|
|
|
58
|
+
# generate random BTC wallet with desired suffix (case-insensitive)
|
|
59
|
+
$ cw -c BTC -s ABC
|
|
60
|
+
|
|
61
|
+
# generate random BTC wallet with desired suffix (case-sensitive)
|
|
62
|
+
$ cw -c BTC -S abc
|
|
63
|
+
|
|
40
64
|
# generate BTC legacy wallet ("1...")
|
|
41
65
|
$ cw -c BTC -f legacy
|
|
42
66
|
|
|
@@ -97,7 +121,8 @@ $ cw -l
|
|
|
97
121
|
- `BLK` (BlackCoin)
|
|
98
122
|
- `VIA` (Viacoin)
|
|
99
123
|
- `NBT` (NIX Bridge Token)
|
|
100
|
-
|
|
124
|
+
|
|
125
|
+
*all other cryptos that are tokens in the ecosystems like Ethereum, Binance Smart Chain or Polygon and others (EVM compatible) are supported too, you just need to create ERC wallet (that is set by default)*
|
|
101
126
|
|
|
102
127
|
## Options
|
|
103
128
|
|
|
@@ -119,24 +144,19 @@ $ cw -l
|
|
|
119
144
|
|
|
120
145
|
## Node.js supported versions
|
|
121
146
|
|
|
122
|
-
- ✅ v16.
|
|
123
|
-
- ⛔ v17.x
|
|
124
|
-
|
|
125
|
-
|
|
147
|
+
- ✅ v16.x
|
|
148
|
+
- ⛔ v17.x
|
|
149
|
+
- ✅ v18.x
|
|
150
|
+
- ✅ v19.x
|
|
126
151
|
|
|
127
|
-
|
|
128
|
-
- Generate wallet with desired prefix/suffix
|
|
129
|
-
- Generate wallet from mnemonic
|
|
130
|
-
- Generate just a mnemonic
|
|
131
|
-
- Works fully offline
|
|
152
|
+
*tested on Mac M1*
|
|
132
153
|
|
|
133
154
|
## TODO
|
|
134
155
|
|
|
135
|
-
- Windows support
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
- tests
|
|
156
|
+
- [ ] Windows support
|
|
157
|
+
- [ ] SegWit Bech32 wallet address support for all Bitcoin forks
|
|
158
|
+
- [ ] More EVM compatible cryptos
|
|
159
|
+
- [ ] tests
|
|
140
160
|
|
|
141
161
|
## Author
|
|
142
162
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yerofey/cryptowallet-cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://github.com/yerofey/cryptowallet-cli",
|
|
6
6
|
"author": "Yerofey S. <pm@yerofey.dev> (https://github.com/yerofey)",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"cw": "cli.js"
|
|
11
11
|
},
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=16.0.0 <17.0.0"
|
|
13
|
+
"node": ">=16.0.0 <17.0.0 >=18.0.0"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"lint": "pnpm exec eslint src/*.js",
|