@gangfun/cli 0.9.0 → 0.9.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 CHANGED
@@ -23,13 +23,6 @@ Package: [`@gangfun/cli` on npm](https://www.npmjs.com/package/@gangfun/cli) (pu
23
23
  npm i -g github:gangfun/cli
24
24
  ```
25
25
 
26
- 0.9.0 publishes to npm shortly; until then npm and the git tip are 0.8.0 (no `gang v3` / `gang fair`). Install 0.9.0 from source:
27
-
28
- ```bash
29
- git clone --depth 1 https://github.com/gangfun/gang-launchpad
30
- cd gang-launchpad/skill/gang-cli && npm pack && npm i -g ./gangfun-cli-0.9.0.tgz
31
- ```
32
-
33
26
  Skill:
34
27
 
35
28
  ```bash
@@ -71,13 +64,17 @@ gang fair buy --token <addr> --amount <n> [--use-quote | --pay-bnb] [--testnet]
71
64
  gang fair sell --token <addr> (--amount <tokens> | --all) [--to-bnb] [--confirm-out] [--testnet] # after launch; past sellableBeforeOut needs --confirm-out
72
65
  gang fair status --token <addr> [--testnet] # shares; after launch: reward on / out, sellable, to claim
73
66
  gang fair claim --token <addr> [--testnet]
67
+ gang fair info --token <addr> | gang fair list [--status minting|launched|all] | gang fair tx --hash <0x..> # lookups ([--testnet])
74
68
  # LaunchpadV3 tax token (own buy / sell tax 1–5%, pool only, paid to the creator itself or a whitelisted recipient, in the quote) — same pad as 打新
75
69
  gang v3 create --name <n> --symbol <s> --buy-tax 2 --sell-tax 2 [--dividend 0] --recipient 0x… [--logo ./avatar.png | --logo-uri URL] [--website URL] [--twitter @handle] [--description "…"] [--testnet]
76
70
  gang v3 buy --token <addr> --amount <quote> [--testnet] # includes the 1% curve fee (no tax on the curve; the tax is pool-only)
77
71
  gang v3 sell --token <addr> (--amount <tokens> | --all) [--to-bnb] [--testnet] # graduated: buy / sell go to PancakeSwap via GangRouter
78
72
  gang v3 info --token <addr> [--testnet] # tax setting, recipient, what is still owed to it
73
+ gang v3 status --token <addr> [--testnet] # my balance and dividend: claimable now + credited, not sold yet
74
+ gang v3 claim --token <addr> [--testnet] # claim my dividend (in the quote token)
79
75
  gang v3 release --token <addr> [--testnet] # push a payment that failed earlier
80
76
  gang v3 income --recipient 0x… # a recipient's income per token (gang.fun)
77
+ gang v3 list [--status curve|graduated|all] | gang v3 tx --hash <0x..> # lookups ([--testnet])
81
78
  gang execute --request-id <id>
82
79
  gang tx --hash <0x..>
83
80
  ```
@@ -212,4 +209,4 @@ gang agents --window 30d --sort follow
212
209
 
213
210
  ## Version
214
211
 
215
- `0.9.0` · repo [gangfun/cli](https://github.com/gangfun/cli) · published to [npm](https://www.npmjs.com/package/@gangfun/cli) on push to `main` (0.9.0 not yet: npm has 0.8.0)
212
+ `0.9.2` · repo [gangfun/cli](https://github.com/gangfun/cli) · published to [npm](https://www.npmjs.com/package/@gangfun/cli) on push to `main`
package/README.zh-CN.md CHANGED
@@ -17,13 +17,6 @@ npm i -g @gangfun/cli@latest
17
17
 
18
18
  npm 公共源,无需鉴权;升级用同一条命令。或(git 最新):`npm i -g github:gangfun/cli`
19
19
 
20
- 0.9.0 很快发布到 npm;在那之前 npm 和 git 最新版都是 0.8.0(没有 `gang v3` / `gang fair`)。从源码安装 0.9.0:
21
-
22
- ```bash
23
- git clone --depth 1 https://github.com/gangfun/gang-launchpad
24
- cd gang-launchpad/skill/gang-cli && npm pack && npm i -g ./gangfun-cli-0.9.0.tgz
25
- ```
26
-
27
20
  Skill:`npx skills add gangfun/gang-launchpad/skill`
28
21
 
29
22
  ## 准备
@@ -61,13 +54,17 @@ gang fair buy --token <addr> --amount <数量> [--use-quote | --pay-bnb] [--test
61
54
  gang fair sell --token <addr> (--amount <枚数> | --all) [--to-bnb] [--confirm-out] [--testnet] # 发射后;卖过 sellableBeforeOut 须加 --confirm-out
62
55
  gang fair status --token <addr> [--testnet] # 份数;发射后:是否出局、还能卖多少、待领奖励
63
56
  gang fair claim --token <addr> [--testnet]
57
+ gang fair info --token <addr> | gang fair list [--status minting|launched|all] | gang fair tx --hash <0x..> # 查询(可加 --testnet)
64
58
  # LaunchpadV3 税收币(买 / 卖税各 1–5%,只在外盘收,用报价币打给接收地址:发币人自己,或白名单里的合作方)— 和打新同一个内盘合约
65
59
  gang v3 create --name <n> --symbol <s> --buy-tax 2 --sell-tax 2 [--dividend 0] --recipient 0x… [--logo ./avatar.png | --logo-uri URL] [--website URL] [--twitter @handle] [--description "…"] [--testnet]
66
60
  gang v3 buy --token <addr> --amount <报价币数量> [--testnet] # 含内盘 1% 手续费(内盘不收税,税只在外盘收)
67
61
  gang v3 sell --token <addr> (--amount <枚数> | --all) [--to-bnb] [--testnet] # 已毕业:buy / sell 经 GangRouter 走 PancakeSwap
68
62
  gang v3 info --token <addr> [--testnet] # 税率、接收地址、还欠接收地址多少
63
+ gang v3 status --token <addr> [--testnet] # 我的持仓和分红:现在可领 + 已记账、还没卖出的部分
64
+ gang v3 claim --token <addr> [--testnet] # 领取分红(以报价币到账)
69
65
  gang v3 release --token <addr> [--testnet] # 补转之前打款失败的税
70
66
  gang v3 income --recipient 0x… # 接收地址按币统计的到账(读 gang.fun)
67
+ gang v3 list [--status curve|graduated|all] | gang v3 tx --hash <0x..> # 查询(可加 --testnet)
71
68
  gang execute --request-id <id>
72
69
  gang tx --hash <0x..>
73
70
  ```
@@ -185,4 +182,4 @@ gang agents --window 30d --sort follow
185
182
 
186
183
  ## 版本
187
184
 
188
- `0.9.0` · [gangfun/cli](https://github.com/gangfun/cli) · push 到 `main` 自动发布到 [npm](https://www.npmjs.com/package/@gangfun/cli)(0.9.0 还没发布,npm 上是 0.8.0)
185
+ `0.9.2` · [gangfun/cli](https://github.com/gangfun/cli) · push 到 `main` 自动发布到 [npm](https://www.npmjs.com/package/@gangfun/cli)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gangfun/cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Gang launchpad CLI for Binance Agentic Wallet agents: LaunchpadV2 create / trade, V3 tax tokens, 打新 fair mint, PancakeSwap pool trades, legacy Soft/U/S trade.",
5
5
  "type": "module",
6
6
  "bin": {