blackchain-addressgen 1.0.0 → 1.0.1
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 +0 -77
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,83 +20,6 @@ Run via `npx` or installed global command:
|
|
|
20
20
|
blackchain-addressgen --show-mnemonic --count 10
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Build
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
cd examples/address-generator
|
|
29
|
-
go build -o blackchain-addressgen main.go
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
## Install as a Global CLI Tool (No `./` Required)
|
|
35
|
-
|
|
36
|
-
After installation, you’ll be able to run:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
blackchain-addressgen
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
from **any directory**.
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
### macOS / Linux
|
|
47
|
-
|
|
48
|
-
#### 1️⃣ Build the binary
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
go build -o blackchain-addressgen main.go
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
#### 2️⃣ Make it executable
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
chmod +x blackchain-addressgen
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
#### 3️⃣ Move it to a directory in your PATH
|
|
61
|
-
|
|
62
|
-
Recommended location:
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
sudo mv blackchain-addressgen /usr/local/bin/
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
> `/usr/local/bin` is included in `PATH` by default on most systems.
|
|
69
|
-
|
|
70
|
-
#### 4️⃣ (macOS only) Remove Gatekeeper quarantine
|
|
71
|
-
|
|
72
|
-
If macOS blocks the binary:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
sudo xattr -d com.apple.quarantine /usr/local/bin/blackchain-addressgen
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
#### 5️⃣ Verify installation
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
which blackchain-addressgen
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Expected output:
|
|
85
|
-
|
|
86
|
-
```text
|
|
87
|
-
/usr/local/bin/blackchain-addressgen
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
You can now run:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
blackchain-addressgen
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
from anywhere 🚀
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
23
|
## Usage
|
|
101
24
|
|
|
102
25
|
### Generate a new mnemonic and addresses
|
package/package.json
CHANGED