@zoralabs/cli 1.0.0 → 1.1.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 +27 -19
- package/dist/index.js +2664 -1013
- package/package.json +5 -3
- package/scripts/postinstall.mjs +72 -0
package/README.md
CHANGED
|
@@ -25,26 +25,34 @@ zora explore
|
|
|
25
25
|
zora get <address-or-name>
|
|
26
26
|
|
|
27
27
|
# Check price history
|
|
28
|
-
zora price-history <address-or-name>
|
|
28
|
+
zora get price-history <address-or-name>
|
|
29
|
+
|
|
30
|
+
# View recent trades on a coin
|
|
31
|
+
zora get trades <address-or-name>
|
|
32
|
+
|
|
33
|
+
# See top holders
|
|
34
|
+
zora get holders <address-or-name>
|
|
29
35
|
```
|
|
30
36
|
|
|
31
37
|
## Commands
|
|
32
38
|
|
|
33
|
-
All commands support `--json` for machine-readable output. Commands with live data (`explore`, `balance`, `profile`) also support `--live` (interactive, default) and `--static` (snapshot). Use `--refresh <seconds>` to set the auto-refresh interval in `--live` mode.
|
|
34
|
-
|
|
35
|
-
| Command
|
|
36
|
-
|
|
|
37
|
-
| `setup`
|
|
38
|
-
| `explore`
|
|
39
|
-
| `get`
|
|
40
|
-
| `price-history` | Display price history for a coin | No |
|
|
41
|
-
| `
|
|
42
|
-
| `
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
39
|
+
All commands support `--json` for machine-readable output. Commands with live data (`explore`, `get`, `balance`, `profile`) also support `--live` (interactive, default) and `--static` (snapshot). Use `--refresh <seconds>` to set the auto-refresh interval in `--live` mode.
|
|
40
|
+
|
|
41
|
+
| Command | Description | Wallet required |
|
|
42
|
+
| ------------------- | --------------------------------------------------------- | --------------- |
|
|
43
|
+
| `setup` | Guided first-time setup (wallet + API key + deposit info) | — |
|
|
44
|
+
| `explore` | Browse top, new, and highest volume coins | No |
|
|
45
|
+
| `get` | Look up a coin by address or name | No |
|
|
46
|
+
| `get price-history` | Display price history for a coin | No |
|
|
47
|
+
| `get trades` | Show recent buy/sell activity on a coin | No |
|
|
48
|
+
| `get holders` | Show top holders of a coin | No |
|
|
49
|
+
| `auth` | Configure or check API key status | No |
|
|
50
|
+
| `profile` | View creator or user profiles | No |
|
|
51
|
+
| `buy` | Buy a coin | Yes |
|
|
52
|
+
| `sell` | Sell a coin | Yes |
|
|
53
|
+
| `balance` | Show wallet balances (ETH, USDC, ZORA) and coin positions | Yes |
|
|
54
|
+
| `wallet` | Show wallet address, export key, or configure wallet | Yes |
|
|
55
|
+
| `send` | Send tokens to another address | Yes |
|
|
48
56
|
|
|
49
57
|
Run `zora --help` or `zora <command> --help` for detailed usage.
|
|
50
58
|
|
|
@@ -63,15 +71,15 @@ The private key is stored locally at `~/.config/zora/wallet.json` with restricte
|
|
|
63
71
|
|
|
64
72
|
### Advanced
|
|
65
73
|
|
|
66
|
-
To configure wallet or API key individually (without running the full setup flow). All commands work without an API key but may be rate-limited:
|
|
74
|
+
To configure wallet or API key individually (without running the full setup flow). All commands work without an API key but may be rate-limited. An API key also provides more accurate coin valuations in `zora balance` by using the SDK's liquidity-aware pricing:
|
|
67
75
|
|
|
68
76
|
- `zora wallet configure` — create or import a wallet (`--create`, `--force`)
|
|
69
77
|
- `zora auth configure` — save an API key; `zora auth status` — check current config
|
|
70
78
|
|
|
71
79
|
## Documentation
|
|
72
80
|
|
|
73
|
-
Full documentation is available at [
|
|
81
|
+
Full documentation is available at [cli.zora.com](https://cli.zora.com/).
|
|
74
82
|
|
|
75
83
|
## Feedback
|
|
76
84
|
|
|
77
|
-
Reach out at [x.com/
|
|
85
|
+
Reach out at [x.com/zorasupport](https://x.com/zorasupport) or [support.zora.co](https://support.zora.co).
|