docs: add upgrade tutorial section to README (en + zh)

Add section 9 "Upgrade Skills and CLI" between Supported Chains and Security,
covering AI Agent prompt, CLI commands, and version check for both languages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gumponchain
2026-03-26 21:58:37 +08:00
committed by GMGN.AI
parent 0239e42b50
commit 58849a8c61
2 changed files with 66 additions and 2 deletions
+33 -1
View File
@@ -325,7 +325,39 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
---
## 9. Security & Disclaimer
## 9. Upgrade Skills and CLI
To upgrade `gmgn-cli` and Skills to the latest version:
**Via AI Agent (recommended)**
Send this to your AI agent:
```
Run these two commands to update gmgn-cli and the skills:
1. npm install -g gmgn-cli
2. npx skills add GMGNAI/gmgn-skills
```
**Via CLI**
```bash
# Upgrade gmgn-cli
npm install -g gmgn-cli
# Upgrade Skills
npx skills add GMGNAI/gmgn-skills
```
**Check the current version**
```bash
gmgn-cli --version
```
---
## 10. Security & Disclaimer
**About `GMGN_PRIVATE_KEY`**