@yerofey/cryptowallet-cli 1.8.4 → 1.8.6

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.
Files changed (2) hide show
  1. package/README.md +40 -20
  2. package/package.json +9 -4
package/README.md CHANGED
@@ -1,10 +1,25 @@
1
- # cryptowallet-cli
1
+ # cryptowallet-cli [![GitHub stars](https://img.shields.io/github/stars/yerofey/cryptowallet-cli.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/yerofey/cryptowallet-cli/stargazers/)
2
+
3
+ [![NPM package yearly downloads](https://badgen.net/npm/dt/@yerofey/cryptowallet-cli)](https://npmjs.com/@yerofey/cryptowallet-cli)
4
+ [![Minimum Node.js version](https://badgen.net/npm/node/@yerofey/cryptowallet-cli)](https://npmjs.com/@yerofey/cryptowallet-cli)
5
+ [![NPM package version](https://badgen.net/npm/v/@yerofey/cryptowallet-cli)](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
  ![Screenshot](https://i.imgur.com/uWuT4lF.png)
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
- _\*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)_
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.0-v16.x
123
- - ⛔ v17.x-v18.x
124
-
125
- ## Highlights
147
+ - ✅ v16.x
148
+ - ⛔ v17.x
149
+ - ✅ v18.x
150
+ - ✅ v19.x
126
151
 
127
- - 24+ blockchains supported
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
- - Show SegWit Bech32 BTC change addresses with additional flag
137
- - SegWit Bech32 wallet address support for all Bitcoin forks
138
- - More EVM compatible cryptos
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,8 +1,13 @@
1
1
  {
2
2
  "name": "@yerofey/cryptowallet-cli",
3
- "version": "1.8.4",
3
+ "version": "1.8.6",
4
+ "description": "Crypto wallet generator CLI tool",
4
5
  "type": "module",
5
6
  "homepage": "https://github.com/yerofey/cryptowallet-cli",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/yerofey/cryptowallet-cli.git"
10
+ },
6
11
  "author": "Yerofey S. <pm@yerofey.dev> (https://github.com/yerofey)",
7
12
  "license": "MIT",
8
13
  "bin": {
@@ -10,7 +15,7 @@
10
15
  "cw": "cli.js"
11
16
  },
12
17
  "engines": {
13
- "node": ">=16.0.0 <17.0.0"
18
+ "node": ">=16.0.0"
14
19
  },
15
20
  "scripts": {
16
21
  "lint": "pnpm exec eslint src/*.js",
@@ -80,7 +85,7 @@
80
85
  "tronweb": "4.4.0"
81
86
  },
82
87
  "devDependencies": {
83
- "ava": "^5.1.0",
84
- "eslint": "^8.27.0"
88
+ "ava": "^5.1.1",
89
+ "eslint": "^8.32.0"
85
90
  }
86
91
  }