mint.club-cli 1.0.0 → 1.0.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/README.md +25 -4
- package/dist/index.js +61 -55
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,29 @@ CLI for [Mint Club V2](https://mint.club) bonding curve tokens across 15 EVM cha
|
|
|
8
8
|
npm install -g mint.club-cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Setup
|
|
12
|
+
|
|
13
|
+
Generate a new wallet:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
mc wallet --generate
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This creates `~/.mintclub/.env` with a new private key and shows your wallet address. Fund it to start trading.
|
|
20
|
+
|
|
21
|
+
Or if you already have a key, create the config manually:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
mkdir -p ~/.mintclub
|
|
25
|
+
echo 'PRIVATE_KEY=0xyour_key_here' > ~/.mintclub/.env
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Check your wallet address anytime:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
mc wallet
|
|
32
|
+
```
|
|
33
|
+
|
|
11
34
|
## Usage
|
|
12
35
|
|
|
13
36
|
```bash
|
|
@@ -30,14 +53,12 @@ mc zap-buy <token> -i <input-token> -a 1.0 -p "<token0>,<fee>,<token1>"
|
|
|
30
53
|
mc zap-sell <token> -a 100 -o <output-token> -p "<token0>,<fee>,<token1>"
|
|
31
54
|
```
|
|
32
55
|
|
|
33
|
-
## Configuration
|
|
34
|
-
|
|
35
|
-
Set `PRIVATE_KEY` in `.env` for write operations (buy/sell/create/zap).
|
|
36
|
-
|
|
37
56
|
## Supported Chains
|
|
38
57
|
|
|
39
58
|
Ethereum, Base, Optimism, Arbitrum, Avalanche, Polygon, BNB Chain, Blast, Degen, Ham, Cyber, Kaia, Mode, Zora, and more.
|
|
40
59
|
|
|
60
|
+
Default chain is `base`. Use `--chain <name>` to switch.
|
|
61
|
+
|
|
41
62
|
## License
|
|
42
63
|
|
|
43
64
|
MIT
|