@gangfun/cli 0.34.0 → 0.36.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 +11 -1
- package/README.zh-CN.md +10 -0
- package/package.json +1 -1
- package/src/capabilities.js +7 -0
- package/src/capped.js +717 -0
- package/src/combo.js +1 -1
- package/src/creatorfee.js +25 -8
- package/src/gangpad.js +16 -5
- package/src/index.js +86 -15
- package/src/launch.js +193 -20
- package/src/mcp.js +9 -8
- package/src/promote.js +3 -3
- package/src/telemetry.js +1 -1
- package/src/trending.js +9 -2
- package/src/v3.js +6 -0
- package/src/weekly.js +357 -0
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ Operate [gang.fun](https://gang.fun) from a Binance **Agentic Wallet**. Curve bu
|
|
|
16
16
|
|
|
17
17
|
**Combined recipient (0.22.0+):** two or three of `--buyback`, `--lp`, `--split` on one taxed launch make a V3 token's tax recipient one GangComboSplitter (`combo-v1`): `gang create … --buy-tax 3 --sell-tax 3 --buyback 30 --lp 30 --split self:70,0x…:30` buys back and burns 30% of the recipient's part, adds 30% to the pair as liquidity (LP to 0xdead) and pushes the rest (40%) to the payees, whose `--split` shares are of that rest (here 28% / 12% of the recipient's part); without `--split` the rest goes to the dev, and `--buyback` + `--lp` = 100 takes no payees. **Everything is permanent**: the ratios, payees and shares can never change (unlike a lone `--buyback` / `--lp`, whose ratio the dev can change); a payee can only move its own slot. Any other asset sent to it: the buy-back + LP share to 0xdead, the rest to the payees. `--buyback-to` / `--lp-to` don't apply. One flag alone still uses its own module. `gang combo status|distribute|release|set-payee|bind|chunk` shows and drives it. On BSC mainnet (factory `0xd33C38BE3f8472b3013167830F0638C1704e1DBd`, deployed 2026-10-31; 2.0: `0xcCeA388DbC0Edb206eC25C9715546d57029198Be`; built in) and testnet set 10 (factory `0x52a8f90a92E5C1828b4436a0B99C6b293f7F4CFE`).
|
|
18
18
|
|
|
19
|
+
**Capped recipient (0.35.0+):** `--tax-cap <amount>` on a taxed launch makes a V3 token's tax recipient one GangCappedSplitter (`capped-v1`): `gang create … --buy-tax 3 --sell-tax 3 --tax-cap 20 --tax-cap-share 50 --split self:70,0x…:30 --after-cap buyback:70,lp:30` pushes 50% of the recipient's part to the payees (`--split` shares of that part; default: all to the dev) until they have been credited 20 of the launch's quote in all (WBNB for a BNB launch, else `--quote`, counted in its own decimals); the rest, and after the cap all of it, is 70% bought back and burned and 30% added to the pair as liquidity (LP to 0xdead). `--tax-cap-share` defaults to 100, `--after-cap` to `buyback:100`. The split that crosses the cap pays exactly what is left of it, and the preview gives the rough pool volume at which the cap is reached. The cap covers only this recipient's part of the pool tax: not the creator fee, not the dev's own tokens (the dev can still sell), not the holders' dividend. **Everything is permanent**: the cap, its quote, the ratios, payees and shares can never change; a payee can only move its own slot. Any other asset sent to it goes to 0xdead in full when it is distributed (one that can't be sent there stays in the module). Not with `--buyback` / `--lp` / `--buyback-to` / `--lp-to` / `--recipient`. `gang capped status|distribute|release|set-payee|bind|chunk` shows and drives it. Live on BSC mainnet (factory `0x294E901ecb66af280C1cDD26fD871601d89a2Dca`, allowed by the platform's Safe on 2026-11-08; built in) and the BSC testnet (`0xe3f61865d98993dd39c136Af19651C6F6686498A`).
|
|
20
|
+
|
|
19
21
|
**GangLaunchpad 2.0, the creator fee and the graduation target (0.23.0+):** 2.0 is a new generation of the same pad (the same V3 curves and 打新 sales); of the 1% fee on every V3 curve buy and sell, 70% is kept on the pad for the token's creator, who claims it any time, before or after graduation: `gang creator-fee` lists a creator's 2.0 tokens and what each holds, `gang creator-fee --token <addr> --claim [--to <addr>]` claims it. It is the creator's own, never the tax recipient's or a buy-back / split / LP module's; 1.0 tokens and 打新 sales have none. 2.0 also lets the creator pick the V3 graduation target: `gang create --grad 6|9|12|15` (BNB raised, default 9; market cap at graduation ≈ 5×); `gang info` / `gang status` show each token's `graduationTargetBnb`. New tokens go to the newest generation built in for the network (`gang preflight` → `createPadGen`); a token keeps trading on its own generation's pad, GangRouter, GangBond and module factories, found by asking each pad's `kindOf`. On the BSC testnet 2.0 is live and the create target (pad `0xb14d415f70D7F99f0D93Bd3BF76e0D6b38b53B3E`, GangRouter `0x5a4FA2D91638a305EdF027894753c943f095dDAA`; the first testnet 2.0, `0x6381…39be`, no longer creates, and its tokens keep trading and claiming there). On BSC mainnet 2.0 is live and the create target since 2026-10-31 (pad `0x770331a9accdb53ACb4a45B6c5B7D151fADCe557`, GangRouter `0xa83209d6bfC2B220cD86410cCDDC71FEb354844a`); 1.0 tokens keep trading on 1.0 (pad `0x15CF…4365`).
|
|
20
22
|
|
|
21
23
|
**2.0 金库版: tokens bound to a lock vault (0.27.0+):** a third pad next to 1.0 and 2.0 (GangVaultLaunchpad: the same 2.0 V3 curves, creator fee and `--grad`; no 打新). Each of its tokens is bound at create, for good, to one vault contract the platform listed, and only the wallet the platform named for that vault may create it, one token per naming: `gang create --vault <vault> --name <n> --symbol <s> [--buy-tax … --sell-tax …] [--grad …]` from that wallet. Until graduation the vault locks holders' tokens and releases them only through the pad, for the wallet that sends the tx and holds an Agent ID; locked tokens still count in the holder's 1% cap (`gang status` → `lockedInVault`, `gang info` → `vault`). After graduation it is a plain token. Buys and sells work as on 2.0 (`gang buy` / `gang sell` find the pad through `kindOf`). The pad has no GangBond and no buy-back / split / LP / combined module, so a `--vault` create takes none of `--dev-buy` / `--bond` / `--buyback` / `--split` / `--lp`: buy with `gang buy` once the create lands. A plain `gang create` never goes to this pad. Mainnet pad `0xE90851A90C6278E3d6e4C24320101f8B13D90A11` (GangRouter `0xAcd4944A4090c13d9DACAe60f3019cef9d9bB1Ad`); testnet `0x9108e7b85e69060A5E626A04Ce6DEf323071C8a9` (GangRouter `0x9bF3E197a6719Af856a7c82d23CABFdBcc184f69`).
|
|
@@ -58,6 +60,9 @@ npx skills add gangfun/gang-launchpad/skill
|
|
|
58
60
|
gang version # this CLI's version (also -v, --version), no wallet needed
|
|
59
61
|
gang preflight
|
|
60
62
|
gang trending # what other agents buy now (0.24.0+)
|
|
63
|
+
gang weekly # Gang's weekly launch event (0.36.0+): open issue, current pick, my applications
|
|
64
|
+
gang weekly apply --name <name> --symbol <SYM> --logo ./logo.png --description "…" --contact <handle> [--twitter …] [--telegram …] [--website …] [--modules lp,buyback] # preview; --yes signs (EIP-712, no tx) and submits
|
|
65
|
+
gang weekly withdraw [--yes]
|
|
61
66
|
gang hot [--limit 10] [--track all|v3|fair|fly|v2|soft] [--include-graduated] # 24h USD volume
|
|
62
67
|
gang new [--limit 10] [--max-age 2h]
|
|
63
68
|
gang near-grad [--min-pct 50] [--limit 10]
|
|
@@ -131,6 +136,8 @@ gang lp status|set|set-payee|apply|bind|release|add --token 0x… [--pct 0-100]
|
|
|
131
136
|
gang lp split --token 0x… (or --module 0x…) # anyone: split what arrived: the payee's part now, the pool's set aside (0.23.0+)
|
|
132
137
|
gang create … --buy-tax 3 --sell-tax 3 --buyback 30 --lp 30 [--split self:70,0x…:30] [--dev-buy …] # V3, combined recipient: 30% bought back + burned, 30% added as liquidity, the rest to the payees (shares of the rest; default you). PERMANENT
|
|
133
138
|
gang combo status|distribute|release|set-payee|bind|chunk --token 0x… [--asset 0x…] [--index <i>] [--to 0x…] [--slippage 1] # the combined recipient: ratios, payees, set aside, owed, the next chunk and the keeper's plan; chunk = one chunk now (anyone)
|
|
139
|
+
gang create … --buy-tax 3 --sell-tax 3 --tax-cap 20 [--tax-cap-share 50] [--split self:70,0x…:30] [--after-cap buyback:70,lp:30] # V3, capped recipient: the payees get --tax-cap-share % until --tax-cap in all, the rest (and then all) bought back / added. PERMANENT
|
|
140
|
+
gang capped status|distribute|release|set-payee|bind|chunk --token 0x… [--asset 0x…] [--index <i>] [--to 0x…] [--slippage 1] # the capped recipient: cap, paid / left / progress, ratios, payees, set aside, owed, the next chunk; other assets go to 0xdead
|
|
134
141
|
gang create --fair … [--shares <n>] --bond <quote> [--bond-hold …] --bond-days <7-90> # 打新: create (dev shares) → bond
|
|
135
142
|
gang execute --request-id <id>
|
|
136
143
|
gang tx --pending # trades approved in the Binance App: found by the exact call previewed, then as below
|
|
@@ -189,6 +196,8 @@ Without it, it emits `new_token` / `near_grad` (crosses `--min-pct`) / `graduate
|
|
|
189
196
|
gang watch --events new_token,near_grad --max-events 1 --timeout 30m
|
|
190
197
|
```
|
|
191
198
|
|
|
199
|
+
**Weekly launch event (0.36.0+):** each week gang.fun picks one application; the pick creates its token on GangLaunchpad 3.0 on Friday 20:00 UTC+8 from the wallet that applied and is featured for 7 days (gang.fun homepage, X / TG posts, `events` first in `trending`). Attention only, no buy-back; an official event, not a recommendation. `gang weekly apply` signs the application with the Agent wallet as EIP-712 typed data (domain `gang.fun weekly launch`, no transaction); `--contact` is only seen by the gang.fun team. Rules: `skill/references/discover.md`.
|
|
200
|
+
|
|
192
201
|
`gang trending` (0.24.0+) lists what other agents buy now: up to 5 tokens with the most distinct agent buyers in the last 6h
|
|
193
202
|
(creators, bulk-buying bots and platform wallets left out) and up to 3 notes you can follow now by authors who hit 60%+ of
|
|
194
203
|
their judged calls (`GET /api/trending`, cached 5 minutes in `~/.gang/trending.json`). `gang preflight` and `gang list` carry
|
|
@@ -267,7 +276,7 @@ take MCP servers instead of a shell (Claude Desktop / Code, Cursor, …). Each t
|
|
|
267
276
|
|
|
268
277
|
| Tool | Runs |
|
|
269
278
|
|---|---|
|
|
270
|
-
| `gang_help` | this CLI's whole help (every command, every flag) and the full rules (0.17.2+): what an agent with no skill installed reads before a create, launch, bond, buyback, split, lp, combo, mint or withdraw |
|
|
279
|
+
| `gang_help` | this CLI's whole help (every command, every flag) and the full rules (0.17.2+): what an agent with no skill installed reads before a create, launch, bond, buyback, split, lp, combo, capped, mint or withdraw |
|
|
271
280
|
| `gang_preflight`, `gang_trending`, `gang_hot`, `gang_new`, `gang_near_grad`, `gang_info`, `gang_status`, `gang_portfolio`, `gang_notes`, `gang_agents` | the read commands of the same name (`gang_portfolio`: 0.17.6+; `gang_trending`: 0.24.0+) |
|
|
272
281
|
| `gang_tx` | `gang tx --hash …`: decode a tx, publish its queued note; `pending: true` = `gang tx --pending`, the trades approved in the Binance App (no hash needed) |
|
|
273
282
|
| `gang_watch` | `gang watch` until `maxEvents` (default 1) or `timeout` (default 50s, at most 30m): returns `{ events, meta }`, `timedOut: true` when nothing came; call it again to keep waiting |
|
|
@@ -337,6 +346,7 @@ timed-out `gang_execute`, check `gang_status` / the wallet history instead of ex
|
|
|
337
346
|
| `GANG_PROMOTE_POOL_FACTORY` / `GANG_TESTNET_PROMOTE_POOL_FACTORY` | GangPromotePoolModuleFactory of the create target (`--promote` on a taxed token). Defaults: mainnet `0xA633…167A`, testnet `0x7a68…F1c2` |
|
|
338
347
|
| `GANG_LP_FACTORY` / `GANG_TESTNET_LP_FACTORY` | GangLiquiditySplitterFactory of the create target (`--lp`). Defaults (CLI 0.20.0+): mainnet 3.0 `0x98C5…1752` (2.0 `0x8ac8…c0E4`, 1.0 `0xE043…C248`, since 2026-10-31), testnet 3.0 `0x4A3a…6B07` (2.0 `0xAEec…36E4`, first 2.0 `0x4f15…1619`, 1.0 `0xA729…1591`) |
|
|
339
348
|
| `GANG_COMBO_FACTORY` / `GANG_TESTNET_COMBO_FACTORY` | GangComboSplitterFactory of the create target (several of `--buyback` / `--lp` / `--split`; a token's combined recipient is on its own generation's). Defaults (CLI 0.22.0+): mainnet 3.0 `0x2018…eA39` (2.0 `0xcCeA…98Be`, 1.0 `0xd33C…1DBd`, since 2026-10-31), testnet 3.0 `0xdc16…543C` (2.0 `0x312c…84BD`, 1.0 `0x52a8…4CFE`; the first 2.0 has none) |
|
|
349
|
+
| `GANG_CAPPED_FACTORY` / `GANG_TESTNET_CAPPED_FACTORY` | GangCappedSplitterFactory of the create target (`--tax-cap` on a taxed V3 launch). CLI 0.35.0+; built in: mainnet `0x294E901ecb66af280C1cDD26fD871601d89a2Dca`, testnet `0xe3f61865d98993dd39c136Af19651C6F6686498A` |
|
|
340
350
|
| `GANG_SPLITTER_FACTORY` / `GANG_TESTNET_SPLITTER_FACTORY` | GangBuybackSplitterFactory of the create target (`--buyback`). Defaults: mainnet 3.0 `0xc128…3194` (2.0 `0x77e4…803C`, 1.0 `0xf1d5…F1Cd`), testnet 3.0 `0x3533…d110` (2.0 `0xDC9E…0f6e`, first 2.0 `0xBc26…33AE`, 1.0 `0x7E63…2BBe`) |
|
|
341
351
|
| `GANG_ROUTER` / `GANG_TESTNET_ROUTER` | GangRouter proxy of the create target (native-BNB V3 buys / mints, and every PancakeSwap trade of a graduated token; a token uses its own generation's); old name `GANG_ROUTER_TESTNET` still works. Defaults: mainnet 3.0 `0xec97…61e7` (2.0 `0xa832…844a`, 1.0 `0xE040…79C4`), testnet 3.0 `0x0954…87b9` (2.0 `0x5a4F…dDAA`, first 2.0 `0xb218…FC08`, 1.0 `0x6bB6…C9F6`) |
|
|
342
352
|
|
package/README.zh-CN.md
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
**组合收款(0.22.0+):** 一次有税发射里同时给 `--buyback`、`--lp`、`--split` 中的两个或三个,V3 币的税收接收地址就是一个组合合约(GangComboSplitter,`combo-v1`):`gang create … --buy-tax 3 --sell-tax 3 --buyback 30 --lp 30 --split self:70,0x…:30` 把接收地址那份税的 30% 回购销毁、30% 加进池子做流动性(LP 打进 0xdead),其余 40% 推给收款人;`--split` 的比例是「剩下那部分」的比例(这里分别是接收地址那份的 28% / 12%)。不给 `--split` 时剩下的全给 dev;`--buyback` + `--lp` = 100 时不能有收款人。**全部永久不可改**:比例、收款人和份额以后都不能改(不像单独的 `--buyback` / `--lp`,dev 可以调比例);收款人只能把自己那一份换到新地址。打进来的其他资产:回购 + 加池那部分比例打进 0xdead,其余给收款人。`--buyback-to` / `--lp-to` 不适用。只给一个参数时仍走各自的单独模块。`gang combo status|distribute|release|set-payee|bind|chunk` 查看和操作。已在 BSC 主网(工厂 `0xd33C38BE3f8472b3013167830F0638C1704e1DBd`,2026-10-31 部署;2.0:`0xcCeA388DbC0Edb206eC25C9715546d57029198Be`;已内置)和测试网第 10 套(工厂 `0x52a8f90a92E5C1828b4436a0B99C6b293f7F4CFE`)可用。
|
|
18
18
|
|
|
19
|
+
**税收封顶(0.35.0+):** 有税发射时给 `--tax-cap <数量>`,V3 币的税收接收地址就是一个封顶合约(GangCappedSplitter,`capped-v1`):`gang create … --buy-tax 3 --sell-tax 3 --tax-cap 20 --tax-cap-share 50 --split self:70,0x…:30 --after-cap buyback:70,lp:30` 把接收地址那份税的 50% 推给收款人(`--split` 的比例是这一部分里的比例;不给时全给 dev),直到收款人累计拿满 20 个发射报价币(BNB 发射就是 WBNB,否则是 `--quote`,按它自己的小数位计);其余部分,以及封顶之后的全部,70% 回购销毁、30% 加进池子做流动性(LP 打进 0xdead)。`--tax-cap-share` 默认 100,`--after-cap` 默认 `buyback:100`。跨过上限的那一笔只给到剩余额度,预览会给出大约多少池子成交量会封顶。封顶只管这个接收地址那份税:不管创建者的曲线手续费分成,不管 dev 自己的币(照样能卖),也不管持有人分红。**全部永久不可改**:上限、计价币、比例、收款人和份额以后都不能改;收款人只能把自己那一份换到新地址。打进来的其他资产在分配(distribute)时全部打进 0xdead(打不进去的留在合约里)。不能和 `--buyback` / `--lp` / `--buyback-to` / `--lp-to` / `--recipient` 同用。`gang capped status|distribute|release|set-payee|bind|chunk` 查看和操作。BSC 主网已上线(工厂 `0x294E901ecb66af280C1cDD26fD871601d89a2Dca`,平台多签于 2026-11-08 批准;已内置),测试网也有(`0xe3f61865d98993dd39c136Af19651C6F6686498A`)。
|
|
20
|
+
|
|
19
21
|
**GangLaunchpad 2.0、creator 分成和毕业目标(0.23.0+):** 2.0 是同一个内盘的新一代(V3 曲线和打新都一样)。V3 内盘每笔买卖收的 1% 手续费里,70% 留在内盘上归这个币的 creator,creator 毕业前后随时可以领:`gang creator-fee` 列出这个 creator 所有 2.0 币各自可领多少,`gang creator-fee --token <addr> --claim [--to <addr>]` 领取。这笔钱只归 creator 本人,不给税收接收地址,也不经过回购 / 分账 / 加池模块;1.0 的币和打新没有这项。2.0 还允许 creator 自选 V3 毕业目标:`gang create --grad 6|9|12|15`(内盘募到的 BNB,默认 9;毕业时市值约为目标的 5 倍);`gang info` / `gang status` 显示每个币的 `graduationTargetBnb`。新币发到这条链上内置的最新一代(`gang preflight` 的 `createPadGen`);已有的币始终用它自己那一代的内盘、GangRouter、GangBond 和模块工厂(CLI 逐个问各代内盘的 `kindOf` 找到它)。BSC 测试网上 2.0 已上线并且是发币目标(内盘 `0xb14d415f70D7F99f0D93Bd3BF76e0D6b38b53B3E`,GangRouter `0x5a4FA2D91638a305EdF027894753c943f095dDAA`;测试网第一版 2.0 `0x6381…39be` 不再发新币,上面的币照常交易和领取)。BSC 主网 2026-10-31 起 2.0 已上线并且是发币目标(内盘 `0x770331a9accdb53ACb4a45B6c5B7D151fADCe557`,GangRouter `0xa83209d6bfC2B220cD86410cCDDC71FEb354844a`);1.0 的币照常在 1.0(内盘 `0x15CF…4365`)上交易。
|
|
20
22
|
|
|
21
23
|
**2.0 金库版:绑定锁仓金库的币(0.27.0+):** 和 1.0、2.0 并列的第三个内盘(GangVaultLaunchpad:V3 曲线、creator 分成和 `--grad` 都和 2.0 一样;没有打新)。这里的每个币在创建时就和平台登记过的一个金库合约永久绑定,而且只有平台为这个金库指定的钱包才能发,每次指定只能发一个币:用那个钱包执行 `gang create --vault <金库> --name <n> --symbol <s> [--buy-tax … --sell-tax …] [--grad …]`。毕业前,金库只能通过内盘锁入、取回持有人的币,而且只替发交易、持有 Agent ID 的钱包操作;锁进金库的币仍计入持有人的 1% 上限(`gang status` → `lockedInVault`,`gang info` → `vault`)。毕业后就是普通的币。买卖和 2.0 一样(`gang buy` / `gang sell` 通过 `kindOf` 找到这个内盘)。这个内盘没有 GangBond,也没有回购 / 分账 / 加池 / 组合模块,所以 `--vault` 发币不能带 `--dev-buy` / `--bond` / `--buyback` / `--split` / `--lp`:发币上链后再用 `gang buy` 买。普通的 `gang create` 不会发到这个内盘。主网内盘 `0xE90851A90C6278E3d6e4C24320101f8B13D90A11`(GangRouter `0xAcd4944A4090c13d9DACAe60f3019cef9d9bB1Ad`);测试网 `0x9108e7b85e69060A5E626A04Ce6DEf323071C8a9`(GangRouter `0x9bF3E197a6719Af856a7c82d23CABFdBcc184f69`)。
|
|
@@ -48,6 +50,9 @@ Skill:`npx skills add gangfun/gang-launchpad/skill`
|
|
|
48
50
|
gang version # CLI 版本(也可用 -v、--version),不需要钱包
|
|
49
51
|
gang preflight
|
|
50
52
|
gang trending # 其他 agent 现在在买什么(0.24.0+)
|
|
53
|
+
gang weekly # 每周发射活动(0.36.0+):报名中的一期、本期入选、我的报名(列表)
|
|
54
|
+
gang weekly apply --name <名称> --symbol <SYM> --logo ./logo.png --description "…" --contact <联系方式> [--twitter …] [--telegram …] [--website …] [--modules lp,buyback] # 预览;加 --yes 用钱包签名(EIP-712,不是交易)并提交
|
|
55
|
+
gang weekly withdraw [--yes]
|
|
51
56
|
gang hot [--limit 10] [--track all|v3|fair|fly|v2|soft] [--include-graduated] # 按 24h USD 成交量
|
|
52
57
|
gang new [--limit 10] [--max-age 2h]
|
|
53
58
|
gang near-grad [--min-pct 50] [--limit 10]
|
|
@@ -110,6 +115,8 @@ gang lp status|set|set-payee|apply|bind|release|add --token 0x… [--pct 0-100]
|
|
|
110
115
|
gang lp split --token 0x…(或 --module 0x…) # 任何人:把新到的钱分掉:收款人那份立即转出,加池那份留着(0.23.0+)
|
|
111
116
|
gang create … --buy-tax 3 --sell-tax 3 --buyback 30 --lp 30 [--split self:70,0x…:30] [--dev-buy …] # V3 组合收款:30% 回购销毁,30% 加池,其余给收款人(比例按剩下那部分算;默认给你)。永久不可改
|
|
112
117
|
gang combo status|distribute|release|set-payee|bind|chunk --token 0x… [--asset 0x…] [--index <i>] [--to 0x…] [--slippage 1] # 组合合约:比例、收款人、待回购 / 待加池、欠款、下一块和 keeper 的计划;chunk = 现在手动做一块(任何人)
|
|
118
|
+
gang create … --buy-tax 3 --sell-tax 3 --tax-cap 20 [--tax-cap-share 50] [--split self:70,0x…:30] [--after-cap buyback:70,lp:30] # V3 税收封顶:收款人拿 --tax-cap-share %,累计拿满 --tax-cap 为止,其余(封顶后全部)回购 / 加池。永久不可改
|
|
119
|
+
gang capped status|distribute|release|set-payee|bind|chunk --token 0x… [--asset 0x…] [--index <i>] [--to 0x…] [--slippage 1] # 封顶合约:上限、已付 / 剩余 / 进度、比例、收款人、待回购 / 待加池、欠款、下一块;其他资产打进 0xdead
|
|
113
120
|
gang create --fair … [--shares <n>] --bond <数量> [--bond-hold …] --bond-days <7-90> # 打新:发币(含 dev 份额)→ 押金
|
|
114
121
|
gang execute --request-id <id>
|
|
115
122
|
gang tx --pending # 在 Binance App 里批准过的交易:按预览时的调用自动找到交易,再按下面这条处理
|
|
@@ -166,6 +173,8 @@ x.com / twitter.com 链接(主页、帖子、社区),统一存成 `https:/
|
|
|
166
173
|
`gang watch` 输出 NDJSON:带 `<addr>` 时轮询(最短 3s),推 `trade` / `progress`(25/50/75/90%)/ `graduated`;不带则推 `new_token` / `near_grad`(越过 `--min-pct`)/ `graduated`,由 gang.fun 通过一条长连接推送(Server-Sent Events,`GET /api/stream`,0.17.0+;`watching` 行带 `transport: "stream"`)。服务端没有推送接口或加了 `--poll` 时,按 `--interval` 轮询(最短 10s)。
|
|
167
174
|
`--max-events 1` = 阻塞到下一个事件;`--webhook` 把每个事件 POST 出去。详见 [skill/references/discover.md](https://github.com/gangfun/gang-launchpad/blob/main/skill/references/discover.md)。
|
|
168
175
|
|
|
176
|
+
**每周发射活动(0.36.0+):** gang.fun 每周从报名里选一个,入选的 dev 在周五 20:00(UTC+8)用报名的钱包在 GangLaunchpad 3.0 上发币,精选 7 天(gang.fun 首页、X / TG 推送、`trending` 最前面的 `events`)。只给曝光,没有回购;是官方活动,不是推荐。`gang weekly apply` 用 Agent 钱包把报名签成 EIP-712 数据(域名 `gang.fun weekly launch`,不发交易);`--contact` 只有 gang.fun 团队能看到。规则见 `skill/references/discover.md`。
|
|
177
|
+
|
|
169
178
|
`gang trending`(0.24.0+)列出其他 agent 现在在买什么:最近 6 小时独立 agent 买家最多的至多 5 个币(不算创建者、批量扫币的机器人和平台钱包),以及至多 3 条现在能跟的想法,作者的已判定命中率不低于 60%(`GET /api/trending`,在 `~/.gang/trending.json` 缓存 5 分钟)。有内容时,`gang preflight` 和 `gang list` 的输出里也带同样的 `trending`。这不是推荐。0.28.0 起,如果登录的钱包还没在 Gang 交易过(`GET /api/ref/eligible`),列表里不放铸币飞轮的币和关于它们的想法,并用 `firstTrade: { flyLeftOut, note }` 说明:第一笔交易引导到曲线上的币。`gang list --kind fly` 仍会列出它们。`gang preflight` 查出问题时,输出里还带 `guide: { url, note }`(0.28.0+):`https://gang.fun/start`,给用户看的分步设置页。
|
|
170
179
|
|
|
171
180
|
发布附言或创建代币之后,`gang execute` / `gang tx --hash` 的输出带 `share: { text, url, image }`(0.25.0+,来自 `GET /api/share`):可以直接发到 X 的英文文案,最长 240 字符,附 gang.fun 链接,X 会显示该页面的卡片。CLI 本身不发帖。
|
|
@@ -287,6 +296,7 @@ Claude Code:`claude mcp add gang -- gang mcp`。同一台机器上 `baw` 要
|
|
|
287
296
|
| `GANG_PROMOTE_POOL_FACTORY` / `GANG_TESTNET_PROMOTE_POOL_FACTORY` | 发币目标那一代的 GangPromotePoolModuleFactory(带税币的 `--promote`)。默认:主网 `0xA633…167A`,测试网 `0x7a68…F1c2` |
|
|
288
297
|
| `GANG_LP_FACTORY` / `GANG_TESTNET_LP_FACTORY` | 发币目标那一代的 GangLiquiditySplitterFactory(`--lp`)。默认(CLI 0.20.0+):主网 3.0 `0x98C5…1752`(2.0 `0x8ac8…c0E4`,1.0 `0xE043…C248`,2026-10-31 起),测试网 3.0 `0x4A3a…6B07`(2.0 `0xAEec…36E4`,第一版 2.0 `0x4f15…1619`,1.0 `0xA729…1591`) |
|
|
289
298
|
| `GANG_COMBO_FACTORY` / `GANG_TESTNET_COMBO_FACTORY` | 发币目标那一代的 GangComboSplitterFactory(同时给 `--buyback` / `--lp` / `--split` 中的几个;已有的币用它自己那一代的)。默认(CLI 0.22.0+):主网 3.0 `0x2018…eA39`(2.0 `0xcCeA…98Be`,1.0 `0xd33C…1DBd`,2026-10-31 起),测试网 3.0 `0xdc16…543C`(2.0 `0x312c…84BD`,1.0 `0x52a8…4CFE`;第一版 2.0 没有) |
|
|
299
|
+
| `GANG_CAPPED_FACTORY` / `GANG_TESTNET_CAPPED_FACTORY` | 发币目标那一代的 GangCappedSplitterFactory(有税 V3 发射的 `--tax-cap`)。CLI 0.35.0+;已内置:主网 `0x294E901ecb66af280C1cDD26fD871601d89a2Dca`,测试网 `0xe3f61865d98993dd39c136Af19651C6F6686498A` |
|
|
290
300
|
| `GANG_ROUTER` / `GANG_TESTNET_ROUTER` | 发币目标那一代的 GangRouter 代理(用原生 BNB 买 V3 / 打新,以及已毕业币的所有外盘买卖;已有的币用它自己那一代的);旧名 `GANG_ROUTER_TESTNET` 仍可用。默认:主网 3.0 `0xec97…61e7`(2.0 `0xa832…844a`,1.0 `0xE040…79C4`),测试网 3.0 `0x0954…87b9`(2.0 `0x5a4F…dDAA`,第一版 2.0 `0xb218…FC08`,1.0 `0x6bB6…C9F6`) |
|
|
291
301
|
|
|
292
302
|
## 使用统计
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gangfun/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"mcpName": "io.github.gangfun/gang",
|
|
5
5
|
"description": "Gang launchpad CLI for Binance Agentic Wallet agents: create on GangLaunchpad (untaxed or tax tokens), 打新 fair mint, PancakeSwap pool trades, LaunchpadV2 and legacy Soft/U/S trade.",
|
|
6
6
|
"type": "module",
|
package/src/capabilities.js
CHANGED
|
@@ -55,6 +55,9 @@ export const COMMANDS = [
|
|
|
55
55
|
c('list', 'read', 'none', '0.1.0', 'Tokens read from the chain, or sales with --kind'),
|
|
56
56
|
c('quote', 'read', 'none', '0.1.0', 'Quote a V2 / Soft curve buy'),
|
|
57
57
|
c('invite', 'read', 'none', '0.26.0', 'My invite link and what it brought'),
|
|
58
|
+
c('weekly', 'read', 'none', '0.36.0', "Gang's weekly launch event: the open issue, the current pick, my applications"),
|
|
59
|
+
c('weekly apply', 'publish', 'medium', '0.36.0', 'Sign (EIP-712, no tx) and submit an application for the weekly launch, with the token\'s name, symbol, logo, links and a private contact: only on the user\'s yes', { needsUserConfirmation: true }),
|
|
60
|
+
c('weekly withdraw', 'publish', 'low', '0.36.0', 'Sign and send the withdrawal of my weekly launch application', { needsUserConfirmation: true }),
|
|
58
61
|
c('v3 income', 'read', 'none', '0.8.0', "A tax recipient's income per token"),
|
|
59
62
|
c('creator-fee', 'read', 'none', '0.23.0', 'What a creator can claim'),
|
|
60
63
|
c('creator-fee --claim', 'preview', 'low', '0.23.0', 'Creator only: claim the creator fee to this wallet'),
|
|
@@ -88,6 +91,10 @@ export const COMMANDS = [
|
|
|
88
91
|
c('combo distribute', 'preview', 'low', '0.22.0', 'Anyone: split the bound quote or another asset'),
|
|
89
92
|
c('combo chunk', 'preview', 'low', '0.22.0', 'Anyone: one buy-back or liquidity chunk'),
|
|
90
93
|
]),
|
|
94
|
+
...baseModule('capped', '0.35.0', "That slot's payee only", [
|
|
95
|
+
c('capped distribute', 'preview', 'low', '0.35.0', 'Anyone: split the bound quote (payees up to the cap), or send another asset to 0xdead'),
|
|
96
|
+
c('capped chunk', 'preview', 'low', '0.35.0', 'Anyone: one buy-back or liquidity chunk'),
|
|
97
|
+
]),
|
|
91
98
|
c('promote buy', 'preview', 'medium', '0.34.0', "Buy naming a promoter: a wallet's first trade of the token binds it for good, on the curve"),
|
|
92
99
|
c('promote status', 'read', 'none', '0.34.0', "A token's promoter terms, a wallet's binding and what it can claim"),
|
|
93
100
|
c('promote earnings', 'read', 'none', '0.34.0', 'A promoter wallet: shares to claim on the curve and in the pool'),
|