@peakd/hive-tx-cli 0.1.0 → 0.2.0
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 +19 -5
- package/bin/hive.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,10 +12,22 @@ A command-line interface wrapper for the Hive blockchain API using [hive-tx](htt
|
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
|
+
```bash
|
|
16
|
+
|
|
17
|
+
pnpm install -g @peakd/hive-tx-cli
|
|
18
|
+
|
|
19
|
+
yarn global add @peakd/hive-tx-cli
|
|
20
|
+
|
|
21
|
+
npm install -g @peakd/hive-tx-cli
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Devlopment
|
|
26
|
+
|
|
15
27
|
```bash
|
|
16
28
|
# Clone or download the project
|
|
17
29
|
git clone <repository-url>
|
|
18
|
-
cd hive-cli
|
|
30
|
+
cd hive-tx-cli
|
|
19
31
|
|
|
20
32
|
# Install dependencies
|
|
21
33
|
pnpm install
|
|
@@ -30,18 +42,20 @@ pnpm link --global
|
|
|
30
42
|
## Quick Start
|
|
31
43
|
|
|
32
44
|
1. **Configure your account:**
|
|
45
|
+
|
|
33
46
|
```bash
|
|
34
47
|
hive config
|
|
35
48
|
```
|
|
36
49
|
|
|
37
50
|
2. **Check configuration status:**
|
|
51
|
+
|
|
38
52
|
```bash
|
|
39
53
|
hive status
|
|
40
54
|
```
|
|
41
55
|
|
|
42
56
|
3. **Query an account:**
|
|
43
57
|
```bash
|
|
44
|
-
hive account
|
|
58
|
+
hive account peakd
|
|
45
59
|
```
|
|
46
60
|
|
|
47
61
|
## Commands
|
|
@@ -111,7 +125,7 @@ hive broadcast '["vote",{"voter":"me","author":"you","permlink":"post","weight":
|
|
|
111
125
|
|
|
112
126
|
```bash
|
|
113
127
|
# Specify a different Hive node
|
|
114
|
-
hive --node https://api.hive.blog account
|
|
128
|
+
hive --node https://api.hive.blog account peakd
|
|
115
129
|
|
|
116
130
|
# Specify account for this command only
|
|
117
131
|
hive --account myaccount vote --author author --permlink permlink --weight 100
|
|
@@ -142,7 +156,7 @@ pnpm dev
|
|
|
142
156
|
pnpm build
|
|
143
157
|
|
|
144
158
|
# Run specific command in dev mode
|
|
145
|
-
pnpm dev -- account
|
|
159
|
+
pnpm dev -- account peakd
|
|
146
160
|
```
|
|
147
161
|
|
|
148
162
|
## Dependencies
|
|
@@ -169,4 +183,4 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
169
183
|
|
|
170
184
|
## Support
|
|
171
185
|
|
|
172
|
-
For issues and questions related to hive-tx, visit: https://github.com/mahdiyari/hive-tx
|
|
186
|
+
For issues and questions related to hive-tx, visit: https://github.com/mahdiyari/hive-tx
|
package/bin/hive.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import('../dist/index.js');
|
|
2
|
+
import('../dist/index.js');
|