@tokenomist-ai/tokenomist-cli 0.1.0 → 0.1.2
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/LICENSE +1 -1
- package/README.md +37 -29
- package/dist/index.js +144 -78
- package/dist/index.js.map +1 -1
- package/dist/update-check.js +3 -3
- package/dist/update-check.js.map +1 -1
- package/package.json +3 -3
- package/scripts/postinstall.js +6 -19
- package/skills/tokenomist-allocation-breakdown/SKILL.md +8 -8
- package/skills/tokenomist-burn-buyback/SKILL.md +54 -14
- package/skills/tokenomist-emission-report/SKILL.md +41 -13
- package/skills/tokenomist-fundraising-lookup/SKILL.md +44 -17
- package/skills/tokenomist-token-overview/SKILL.md +28 -12
- package/skills/tokenomist-unlock-analysis/SKILL.md +59 -16
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ CLI tool for the [Tokenomist API](https://tokenomist.ai) — query token unlocks
|
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
11
|
npm install -g @tokenomist-ai/tokenomist-cli
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
tok auth login
|
|
13
|
+
tok token list
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Or run without installing:
|
|
@@ -25,14 +25,14 @@ npx @tokenomist-ai/tokenomist-cli token list
|
|
|
25
25
|
|
|
26
26
|
Get an API key from [tokenomist.ai](https://tokenomist.ai) and configure it.
|
|
27
27
|
|
|
28
|
-
### `
|
|
28
|
+
### `tok auth login` (recommended)
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
|
|
31
|
+
tok auth login
|
|
32
32
|
# Enter your Tokenomist API key: ****
|
|
33
33
|
|
|
34
34
|
# Or pass directly:
|
|
35
|
-
|
|
35
|
+
tok auth login --api-key your-api-key
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
This stores your key in `~/.tokenomist/config.json` with restricted file permissions (`0600`).
|
|
@@ -40,7 +40,7 @@ This stores your key in `~/.tokenomist/config.json` with restricted file permiss
|
|
|
40
40
|
### Check auth status
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
|
|
43
|
+
tok auth status
|
|
44
44
|
# Source: ~/.tokenomist/config.json
|
|
45
45
|
# Key: tk-t****ab2f
|
|
46
46
|
```
|
|
@@ -48,7 +48,7 @@ tokenomist auth status
|
|
|
48
48
|
### Remove stored key
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
|
|
51
|
+
tok auth logout
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
### Alternative methods
|
|
@@ -65,7 +65,7 @@ TOKENOMIST_API_KEY=your-api-key
|
|
|
65
65
|
|
|
66
66
|
**CLI flag (per-command)**
|
|
67
67
|
```bash
|
|
68
|
-
|
|
68
|
+
tok token list --api-key your-api-key
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
### Resolution order
|
|
@@ -82,6 +82,16 @@ Tokenomist CLI ships with AI coding skills that let agents (Claude Code, Cursor,
|
|
|
82
82
|
npx skills add tokenomist-ai/tokenomist-cli
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
+
### Install skills locally (after cloning)
|
|
86
|
+
|
|
87
|
+
If you've cloned the repo for development, install skills from your local copy:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npx skills add .
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
This reads the skill definitions from the local `.agents/skills/` directory instead of fetching from the registry.
|
|
94
|
+
|
|
85
95
|
### Available skills
|
|
86
96
|
|
|
87
97
|
| Skill | Description |
|
|
@@ -97,52 +107,52 @@ npx skills add tokenomist-ai/tokenomist-cli
|
|
|
97
107
|
|
|
98
108
|
### Token list
|
|
99
109
|
```bash
|
|
100
|
-
|
|
101
|
-
|
|
110
|
+
tok token list
|
|
111
|
+
tok token list --output csv
|
|
102
112
|
```
|
|
103
113
|
|
|
104
114
|
### Unlock events
|
|
105
115
|
```bash
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
tok unlock list
|
|
117
|
+
tok unlock list --min-market-cap 1000000
|
|
118
|
+
tok unlock upcoming
|
|
119
|
+
tok unlock events solana --start 2024-01-01 --end 2024-12-31
|
|
110
120
|
```
|
|
111
121
|
|
|
112
122
|
### Investors
|
|
113
123
|
```bash
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
124
|
+
tok investor list
|
|
125
|
+
tok investor detail <investorId>
|
|
126
|
+
tok investor detail <investorId> --is-lead-investor
|
|
117
127
|
```
|
|
118
128
|
|
|
119
129
|
### Fundraising
|
|
120
130
|
```bash
|
|
121
|
-
|
|
122
|
-
|
|
131
|
+
tok fundraising detail solana
|
|
132
|
+
tok fundraising detail solana --output json
|
|
123
133
|
```
|
|
124
134
|
|
|
125
135
|
### Burns
|
|
126
136
|
```bash
|
|
127
|
-
|
|
128
|
-
|
|
137
|
+
tok burn list
|
|
138
|
+
tok burn detail solana --start 2024-01-01
|
|
129
139
|
```
|
|
130
140
|
|
|
131
141
|
### Buybacks
|
|
132
142
|
```bash
|
|
133
|
-
|
|
134
|
-
|
|
143
|
+
tok buyback list
|
|
144
|
+
tok buyback detail solana
|
|
135
145
|
```
|
|
136
146
|
|
|
137
147
|
### Emissions
|
|
138
148
|
```bash
|
|
139
|
-
|
|
140
|
-
|
|
149
|
+
tok emission daily solana
|
|
150
|
+
tok emission weekly solana --start 2024-01-01 --end 2024-06-30
|
|
141
151
|
```
|
|
142
152
|
|
|
143
153
|
### Allocations
|
|
144
154
|
```bash
|
|
145
|
-
|
|
155
|
+
tok allocation detail solana
|
|
146
156
|
```
|
|
147
157
|
|
|
148
158
|
## Global Options
|
|
@@ -166,11 +176,9 @@ npm test
|
|
|
166
176
|
|
|
167
177
|
# Link for local testing
|
|
168
178
|
npm link
|
|
169
|
-
|
|
179
|
+
tok --help
|
|
170
180
|
```
|
|
171
181
|
|
|
172
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on filing issues and submitting pull requests.
|
|
173
|
-
|
|
174
182
|
## License
|
|
175
183
|
|
|
176
184
|
[MIT](LICENSE)
|