Skip to content

docs: note Node 18 runtime requirement - #22

Open
Liam-Dow wants to merge 86 commits into
gangfun:mainfrom
Liam-Dow:chore/cursor-node-runtime-note
Open

Liam-Dow wants to merge 86 commits into
gangfun:mainfrom
Liam-Dow:chore/cursor-node-runtime-note

Conversation

@Liam-Dow

@Liam-Dow Liam-Dow commented Nov 5, 2026

Copy link
Copy Markdown

Minimal documentation clarification authored by Cursor Agent. The CLI already requires Node.js 18 or newer via package metadata.

C100 and others added 30 commits October 25, 2026 03:27
- 新增 gang hot / new / near-grad(读 gang.fun indexer,统一 V2 与 Soft 字段)与 gang watch [<addr>](NDJSON 事件流,支持 --events / --max-events / --timeout / --webhook)
- 源码同步自 gangfun/gang-launchpad skill/gang-cli(b967c22 及安装文档修正)
- 安装说明改为 npmjs `npm i -g @gangfun/cli@latest`,去掉 GitHub Packages 鉴权说明
- CI:PR 只跑 smoke test,不再发布;push 到 main 仅在 npm 上没有该版本时发布,纯文档 push 不会因重复版本失败

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 修复:≤0.3.0 编码的是 5 参数 create(…, address pairOrQuote)(0x4ff246cf),LaunchpadV2 没有这个函数,gang create 必定回滚;改为 create(name,symbol,logoURI,taxed,quote,refPool)(0x1abdc752)
  - 新参数 --quote / --ref-pool(默认 WBNB);--pair-or-quote 移除并提示迁移;去掉「--taxed 必须带 pair」
  - preview 前 eth_call 模拟 create:回滚报合约错误名 + hint,RPC 失败单独报可重试;preview 显示 graduationAmount / tokenIfNext
- 新增 buy / sell / create 的 --note "<理由>" [--conf 0-100]:calldata 末尾追加 37 字节承诺,execute 后公开到 /api/notes;本地队列 ~/.gang/notes(GANG_NOTES_DIR)
- 源码同步自 gangfun/gang-launchpad skill/gang-cli(81364bf)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- buy / sell / create 新增 --reveal-after <1-72>h(需配合 --note):41 字节 v2 承诺,execute 后带 revealAfter POST,gang.fun 到 revealAt 自动公开
- gang tx 识别 v1/v2 承诺;pending 重发刷新状态,sealed 过 revealAt 显示 ok;输出 revealAtIso
- 版本仍为 0.3.1,本次 push 不发布 npm(生产服务端 v2 未上线,测试站完整流程待验)
- 源码同步自 gangfun/gang-launchpad skill/gang-cli(46134d4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 密封附言:--reveal-after <1-72>h,41 字节 v2 承诺,gang.fun 托管到 revealAt 自动公开(生产服务端 v1.2.6 已支持)
- V2 买入前检查 WBNB 余额,不足先返回 step: wrap-bnb(BNB → WBNB),再 approve、buy
- 源码同步自 gangfun/gang-launchpad skill/gang-cli(a6c8566)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 源码同步自 gangfun/gang-launchpad skill/gang-cli(52e3d31);版本仍为 0.4.0,本次 push 不发布 npm

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
同步 gang-launchpad 458cf45;只改文档,版本号不变,CI 不发 npm

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
同步 gang-launchpad d2c031c;代码与 0.4.0 相同,只为让 npm 包页面显示最新 README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
同步 gang-launchpad 284abb0:--logo-uri 转存、gang.fun 地址存在检查、--keep-logo-uri(拒绝临时图床)、upload-logo --url、可重试报错带 retry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
同步自 gangfun/gang-launchpad dd1aea1(skill/gang-cli)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
同步自 gangfun/gang-launchpad eebeff6(skill/gang-cli)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…币详情页展示

同 gangfun/gang-launchpad f125ac0(skill/gang-cli),不含 gang fair(打新仍在 gang-launchpad 测试网阶段)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ent 自己找能跟的想法

同 gangfun/gang-launchpad d564700(skill/gang-cli),不含 gang fair。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wap pool trades

gang v3 / gang fair against the merged mainnet GangLaunchpad 0x15CF...4365 (router proxy 0xE040...79C4,
built in; --testnet uses set 10), and pool buys / sells of graduated tokens through GangRouter. Synced from
gang-launchpad skill/gang-cli at e901334.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
release: v0.9.0 GangLaunchpad (V3 tax tokens, fair mint) and pool trades
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: drop the install-from-source note, 0.9.0 is on npm
Synced from gangfun/gang-launchpad skill/gang-cli at fa7c78f. Docs only:
documents gang v3 claim/status and the fair/v3 info/list/tx lookups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y default

Synced from gangfun/gang-launchpad skill/gang-cli at f5f70e8 (gangfun/gang-launchpad#38).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release 0.10.0: gang create launches on GangLaunchpad (V3), untaxed by default
Synced from gangfun/gang-launchpad d7c2adc (skill/gang-cli).

Tokens created with `gang create` / `gang v3 create` / `gang fair create` got
https://cdn.gang.fun/ipfs/<cid> as logoURI and metaURI, and the same CDN URL as
the metadata JSON's image. They now get ipfs://<cid>, taken from the cid the
upload endpoint returns.

- upload-logo returns logoUrl as ipfs://<cid>, plus url (the endpoint's CDN URL)
  and cid; metadata uploads return uri (ipfs://<cid>) for metaURI.
- --logo-uri ipfs://<cid> (also ipfs://ipfs/<cid>) or a gang.fun CDN URL, with
  or without ?query / #hash / trailing slash, is checked on the CDN and goes
  on-chain as ipfs://<cid>, also with --keep-logo-uri. An ipfs:// file not on
  gang.fun needs --keep-logo-uri; the ipfs:// prefix is matched case-insensitively.
- An upload response without a cid fails instead of putting an https URL on-chain.
- GANG_CDN_BASE (default https://cdn.gang.fun) sets where those checks go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli (feat/cli-v3-notes,
gangfun/gang-launchpad#40).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release 0.11.0: notes and follows on GangLaunchpad
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gang buy / sell / info / status / claim / mint / withdraw / release
--token read GangLaunchpad's kindOf and run the V3, fair-mint or V2 /
Soft / U / S code; gang create --fair, gang list --kind v3|fair, gang tx
for GangLaunchpad events (--testnet). --amount everywhere (--bnb kept);
gang v3 / gang fair stay as aliases (useInstead).

Synced from gangfun/gang-launchpad main 8178845 (PR #43).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release 0.12.0: one command per action, routed by the token's kind
Synced from gangfun/gang-launchpad skill/gang-cli at main 272642d:
- gang bond: GangBond creator bonds (post, topup, raise-hold, extend,
  status, start, report, settle, refund, burn, tx); a bonded creator's
  sell / withdraw is checked against its promise.
- One-command launch: gang create … --dev-buy <quote> [--bond …] and
  gang create --fair … --bond …: one tx per run, the same command again
  until launch.stage = done.
- Dev tax buy-back: gang create … --buy-tax … --sell-tax … --buyback <pct>
  clones the dev's GangBuybackSplitter (listed in the same tx) and makes
  it the recipient; gang buyback status|set|apply|bind|release; gang info
  shows it. Mainnet factory 0x6bcd…8546 built in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C100 and others added 29 commits October 30, 2026 02:49
…ce App

Synced from gangfun/gang-launchpad skill/gang-cli (a5e0f07).

A trade that waited for Binance App approval came back without a tx
hash, and an agent without a shell had no way to find it. Each preview
now records the call it made; gang tx --pending (MCP: gang_tx
pending: true) matches the wallet's confirmed txs to it by the exact
call and the block it went pending at, then reports it as gang tx --hash
does (events, the trade's note published).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… fails

Every chain read goes through a list of public nodes (BNB Chain's dataseed nodes and PublicNode on mainnet; PublicNode and
BNB Chain's nodes on testnet). A call that fails on one node (rate limit, 8 s timeout) moves to the next, and later calls
start at the node that answered. A revert is thrown at once. GANG_RPC_URL / GANG_TESTNET_RPC_URL take one URL or a comma
list and replace the public nodes.

Tests (local): rpc, mcp, pending, watch-stream all pass; live mainnet info / status / buy preview / preflight / tx, testnet
v3 info, a dead and a hung first node.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gang portfolio [--from <addr>] (MCP: gang_portfolio) lists every token the wallet traded on a gang.fun curve or sale and
reads each on chain like gang status: balance, value and how it was priced, cost and unrealized, claimable dividend /
reward, USD, next commands (on a bonded token, never past the bond's headroom); plus totals, the trading record and the
bonds on its launches. Mainnet only.

Tests (local): portfolio, mcp (17 tools), rpc, pending, watch-stream pass; MCP SDK + Ajv strict on all 17 schemas; live
on four mainnet wallets checked against the server's positions and gang status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… time

gang list without --kind (the on-chain fallback when gang.fun's API is down) lists the newest --limit (default 20, up to
1000) tokens of each V2 / Soft / U / S pad, 8 reads at a time, and says per pad how many it has and listed: seconds
instead of minutes.

Tests (local): portfolio, rpc, mcp, pending, watch-stream pass; live gang list / --limit 100 / --kind v3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ir code

gang execute and every preview passed baw's error object through as `error`; now error is baw's message, with code and
errorName next to it and a hint for risk-control code 351803. Synced from gang-launchpad 6de03ff.

Tests (in gang-launchpad): pending, mcp, portfolio, rpc, watch-stream all pass; live gang execute / gang_execute with an
unknown request id print the message and code 351806.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at b828ac7 (PR #82). gang create --fly and the unified verbs on
持续打新 tokens (mint before / after launch with --ref invites, withdraw, pool buy / sell with launch protection
checked first, claim, release), gang fly open-early | launch | invite, list --kind fly, tx decoding of the pad and tax
handler events, the fly track in discover / portfolio / MCP. Fly pool trades, post-launch mints and launches carry a
gas limit with room (max(1.5 x the estimate, a floor)). The mainnet pad is not open yet: create --fly says so there.

Tests (in gang-launchpad): node test/{fly,mcp,pending,portfolio,rpc,watch-stream}.mjs pass; anvil fork of BSC testnet
43/43; BSC testnet 39/39.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at b498b5c (PR #84). The mainnet GangFlywheelPad opened on 2026-10-30,
so the READMEs, the help text and the MCP rules no longer say continuous mint is testnet only. No behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at a5906f8 (PR #85). gang info / gang status on a launched 持续打新
token say when post-launch minting is paused, why (below_average, below_recent_high, above_pool, supply_cap, or the
wallet's pace) and when it resumes; next is then a pool buy. gang fly invite shows gang.fun's valid / total invite
counts next to the on-chain bonus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at 2ab2dc0 (PR #88). 持续打新 / continuous mint is renamed to
铸币飞轮 / Mint Flywheel in every user-facing text (help, messages, errors, MCP descriptions, READMEs). kind "fly", the
--fly flags, gang fly subcommands and JSON fields are unchanged. discover no longer reads mintPaused on list rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it-v1)

Synced from gangfun/gang-launchpad skill/gang-cli at 78ac345 (PR #86).
The split factory is live on BSC mainnet (0x27e08271E52B2D129c824CD245e69471a8d3067c,
allowed by the Safe; contracts in PR #79).

- gang create ... --split self:60,<addr>:30,<addr>:10: clone your split
  contract (1-10 payees at shares that never change), create with it as
  the tax recipient, bind. Only the quotes the keeper splits (WBNB, GANG,
  QuoteRegistry quotes), as with --buyback; excludes --buyback and
  --recipient.
- gang split status | distribute | release | set-payee | bind: payees,
  what waits and what is owed, keeper or manual distribution; --index is
  the contract's 0-based slot. No gas limit is ever set on split calls:
  the node's estimate is needed (PushStarved hint otherwise).
- gang info shows the split contract; gang tx decodes its events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at e73dc6e (PR #89). gang.fun's fly list and search rows carry
mintPaused; discover shows it, and a launched token whose post-launch minting is paused gets a pool buy as next
instead of gang mint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…burn-v1)

Synced from gangfun/gang-launchpad skill/gang-cli at 68c8312 (PR #92).
The auto-liquidity factory is live on BSC mainnet
(0xE0436867dAFcf42Ee1418083251a9B8B61F0C248, allowed by the Safe;
contracts in PR #91).

- gang create ... --lp <0-100> [--lp-to <addr>]: clone your auto-liquidity
  contract, create with it as the tax recipient, bind. That share of the
  recipient's part of every tax is added to the token's PancakeSwap pool
  in chunks, the LP locked at 0xdead; the rest goes to you (or --lp-to).
  Only the quotes the keeper serves (WBNB, GANG, QuoteRegistry quotes);
  excludes --buyback, --split and --recipient.
- gang lp status | set | set-payee | apply | bind | release | add: as
  gang buyback (a raise applies at once, a cut after a 3-day notice).
  No gas limit is set on these calls: the node's estimate is needed.
- gang info shows the contract; gang tx decodes its events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at 2e05a29 (PR #90). gang create --fly goes to the V2
GangFlywheelPad (mainnet 0x2818…8a5a, testnet 0x7069…E3d6); while it is not open it says so, with no fallback to V1.
Every other command follows the token's own pad, so V1 tokens keep working. V2 creates take --guard off|15|20|30
(off by default) and --twap-window 15|30; with post-launch minting, quota ≤ 10, invite bonus ≤ 1 and the Agent ID gate
are checked up front. info / status apply each pad version's pause rules (V2: below_guard, above_pool).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd gang combo

Synced from gangfun/gang-launchpad skill/gang-cli at 2a7bb04 (PR #96).
The combined recipient factory is live on BSC mainnet
(0xd33C38BE3f8472b3013167830F0638C1704e1DBd, allowed by the Safe;
contracts in PR #95).

- gang create ... with two or three of --buyback / --lp / --split makes the
  token's tax recipient one GangComboSplitter (combo-v1): the buy-back share
  is bought and burned to 0xdead, the liquidity share is added to the pool
  with the LP at 0xdead, the rest goes to up to 10 payees. Ratios, payees
  and shares are fixed forever at creation.
- gang combo status | distribute | release | set-payee | bind | chunk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… mainnet

Synced from gangfun/gang-launchpad skill/gang-cli at 72e6271 (#98).
- New tokens go to GangLaunchpad 2.0 on BSC mainnet (pad
  0x770331a9accdb53ACb4a45B6c5B7D151fADCe557) and testnet; 1.0 tokens
  keep their own pad, router, bond and module factories.
- gang creator-fee: list and claim the creator's 70% of the 1% curve fee.
- gang create --grad 6|9|12|15 (default 9); info / status show each
  token's graduation target.
- Curve buy preview shows spent / refund / cutBy at the graduation cut
  or the wallet cap.
- gang buyback|lp split and sweep; claim --to a module names its
  pay-out command and warns on a quote mismatch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From gangfun/gang-launchpad 6d6a740 (PR #101).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only Actions OIDC can publish under the io.github.gangfun namespace.
Runs on push to main after the npm step, skips versions the registry
already has, waits for npm to serve the version (the registry checks
mcpName there) and stamps server.json with package.json's version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From gangfun/gang-launchpad a2e6034 (PR #103).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- gang invite: a wallet's invite link to gang.fun/start, with its invited / qualified counts
- buy, mint and follow write an invite tag ("gang" 05 + referrer) for a wallet's first Gang trade (--ref, or gang.fun's attribution)
- results show who invited the wallet

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- gang create, gang v3 / fair / fly create and a launch in one command refuse any flag a create doesn't take, before anything is uploaded or sent
- the error names the right flag: --website / --twitter for link typos (--x, --website-url, --website=…), else the closest create flag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synced from gangfun/gang-launchpad skill/gang-cli at 915ae8a (PR #107).
The 2.0 vault pad is a built-in generation: its tokens trade, show their
vault (gang info) and locked amount (gang status → lockedInVault), and
gang create --vault <vault> creates through createWithVault from the
wallet named for that listed vault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From gangfun/gang-launchpad #111 (6293e07). For a wallet that has
never traded on Gang, trending leaves out Mint Flywheel sales and adds
firstTrade. When gang preflight finds issues, it carries
guide.url (https://gang.fun/start).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`gang bond status` reports the bond badge tier from gang.fun's anchor
(the dump value when X was set on the pair), so a rising price no
longer drops the tier; the live coverage and toFullCover are unchanged.
Without an anchor the tier is the live one. The topup / raise-hold
previews show the tier after the change on the same basis.

From gangfun/gang-launchpad#115.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Creates, including Mint Flywheel sales, now go to GangLaunchpad 3.0. Commands
work on 3.0 tokens of every kind and on tokens of the older pads. Module
factories, bonds and routers follow each token's pad. Agents need 0.30.0 to
create on 3.0 and to read its tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CLI now looks on both Soft pads, so the Soft tokens work again. A graduated
Soft token, such as GANG, is priced from its pool. gang quote says when a token
has graduated, and a graduated token no longer shows a wallet cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Liam Dow <Liam-Dow@users.noreply.github.com>
Co-authored-by: Liam Dow <Liam-Dow@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants