chore(mcp): rebrand native asset to "GRAM (ex. TON)"#488
Conversation
Toncoin (TON) was renamed to GRAM. Annotate every user-facing coin reference in @ton/mcp as "GRAM (ex. TON)" across tool descriptions, README, llms.txt, USAGE_EXAMPLES, and skills. TON Blockchain / network / DNS / TonProof / config paths, code identifiers (tool names, TonTransfer, nanoTon, amountTon, TON_DECIMALS), and the literal "TON" swap selector are intentionally unchanged. Bump @ton/mcp to 0.1.15-alpha.23 and refresh the rename-ton-to-gram changeset wording. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
📝 WalkthroughWalkthroughThis PR updates terminology across the ChangesGRAM (ex. TON) terminology update
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
What & why
Toncoin (ticker TON) was renamed to GRAM. This aligns
packages/mcpwith the rename by annotating every user-facing reference to the coin as "GRAM (ex. TON)", while leaving all TON Blockchain / network / protocol references untouched.Scope
Renamed → "GRAM (ex. TON)" (the asset): balances, amounts, transfers, sends, swaps, deposits, gas, swap-pair routes,
1.5 TON→1.5 GRAM.Kept as "TON" (ecosystem / identifiers):
TON blockchain,TON network,TON DNS,TonProof/TonConnect,TON wallet/address, "In TON, a transaction is complete when…".~/.config/ton/config.json,TON_CONFIG_PATH, Toncenter.build_ton_transfer), types (TonTransfer), params (amountTon,tonDeposit), units (nanoTon),TON_DECIMALS,@ton/walletkit, and the literal"TON"swap selector.First coin mention per string is annotated with
(ex. TON); immediate in-sentence repeats stayGRAMfor readability. Runtime value labels (e.g.`${amount} GRAM`) unchanged.Files
src/tools/*.ts,src/services/McpWalletService.tsllms.txt,README.md,USAGE_EXAMPLES.mdton-balance,ton-send,ton-swap,ton-cli,ton-create-wallet,ton-xstocksVersioning
@ton/mcp0.1.15-alpha.22→0.1.15-alpha.23..changeset/rename-ton-to-gram.md(@ton/mcppatch) to reflect the "GRAM (ex. TON)" wording — no new changeset added, to avoid a double mcp bump on the nextchangeset version.Verification
tsc --noEmit— passesvitest run— 78/78 pass🤖 Generated with Claude Code
Summary by CodeRabbit