Telegram Web App for Chia wallet verification via WalletConnect and Sage. Enables cryptographic proof of wallet ownership through signature verification using MintGarden API.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install chia-walletconnect或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install chia-walletconnect⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/chia-walletconnect/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: chia-walletconnect description: Telegram Web App for Chia wallet verification via WalletConnect and Sage. Enables cryptographic proof of wallet ownership through signature verification using MintGarden API. metadata: {"clawdbot":{"requires":{"bins":["node"]},"install":[]}} ---
Verify Chia wallet ownership via Telegram using WalletConnect integration with Sage Wallet.
This skill provides a Telegram Mini App (Web App) that enables users to:
Use Cases:
/verify command → Web App button → WalletConnect → Sage signs → Verification
The user never leaves Telegram. The entire flow happens in-app via the Telegram Web App API.
# Install via ClawdHub
clawdhub install chia-walletconnect
# Install dependencies
cd skills/chia-walletconnect
npm install
# Make CLI executable
chmod +x cli.js
Deploy the webapp/ folder to a public HTTPS URL:
Vercel (Recommended):
cd skills/chia-walletconnect/webapp
vercel
# Copy the URL (e.g., https://chia-verify.vercel.app)
Netlify:
cd skills/chia-walletconnect/webapp
netlify deploy --prod
Your Server:
# Start Express server
npm start
# Expose via ngrok or reverse proxy
/newapp or /editappverify// Send /verify command handler
message({
action: 'send',
target: chatId,
message: 'Click below to verify your Chia wallet:',
buttons: [[{
text: '🌱 Verify Wallet',
web_app: { url: 'https://your-app.vercel.app' }
}]]
});
// In your bot's web_app_data handler
bot.on('web_app_data', async (msg) => {
const data = JSON.parse(msg.web_app_data.data);
const { address, message, signature, publicKey, userId } = data;
// Verify signature
const { verifySignature } = require('./skills/chia-walletconnect/lib/verify');
const result = await verifySignature(address, message, signature, publicKey);
if (result.verified) {
// Wallet verified! Grant access, record verification, etc.
message({
action: 'send',
target: msg.chat.id,
message: `✅ Wallet verified!\n\nAddress: ${address}`
});
// Store verification
// await db.saveVerification(userId, address);
} else {
message({
action: 'send',
target: msg.chat.id,
message: `❌ Verification failed: ${result.error}`
});
}
});
The skill includes a CLI for testing:
# Generate challenge message
node cli.js challenge xch1abc... telegram_user_123
# Verify signature manually
node cli.js verify xch1abc... "message" "signature" "pubkey"
# Validate address format
node cli.js validate xch1abc...
# Start development server
node cli.js server
Endpoint: POST https://api.mintgarden.io/address/verify_signature
{
"address": "xch1abc...",
"message": "Verify ownership of Chia wallet:...",
"signature": "hex_signature",
"pubkey": "hex_public_key"
}
Response:
{
"verified": true
}
| Method | Purpose | |--------|---------| | chip0002_getPublicKeys | Fetch public keys from wallet | | chip0002_signMessage | Request message signature | | chia_getCurrentAddress | Get current receive address |
1. User sends /verify to bot
2. Bot responds with Web App button
3. User taps button → Mini App opens in Telegram
4. Mini App initializes WalletConnect
5. User connects Sage Wallet
6. Challenge message generated (includes nonce + timestamp)
7. User signs message in Sage Wallet
8. Signature sent back to bot via Telegram.WebApp.sendData()
9. Bot verifies signature with MintGarden API
10. Bot confirms verification success/failure
Time: ~5-10 seconds for full flow (user-dependent)
Create .env in skill folder:
PORT=3000
WALLETCONNECT_PROJECT_ID=your-project-id
MINTGARDEN_API_URL=https://api.mintgarden.io
webapp/app.jsDefault Project ID: The skill includes 6d377259062295c0f6312b4f3e7a5d9b (Dracattus reference). For production, use your own.
chia-walletconnect/
├── webapp/
│ ├── index.html # Telegram Web App UI
│ ├── app.js # WalletConnect logic
│ └── styles.css # Styling
├── lib/
│ ├── challenge.js # Challenge generation
│ └── verify.js # MintGarden API client
├── server/
│ └── index.js # Express webhook server
├── cli.js # CLI interface
├── package.json # Dependencies
├── SKILL.md # This file
└── README.md # Full documentation
// Clawdbot skill handler
const { verifySignature } = require('./lib/verify');
// /verify command
if (message.text === '/verify') {
await message({
action: 'send',
target: message.chat.id,
message: 'Verify your Chia wallet:',
buttons: [[{
text: '🌱 Connect Wallet',
web_app: { url: process.env.WEB_APP_URL }
}]]
});
}
...安装 Chia WalletConnect - Telegram Verification 后,可以对 AI 说这些话来触发它
Help me get started with Chia WalletConnect - Telegram Verification
Explains what Chia WalletConnect - Telegram Verification does, walks through the setup, and runs a quick demo based on your current project
Use Chia WalletConnect - Telegram Verification to telegram Web App for Chia wallet verification via WalletConnect and...
Invokes Chia WalletConnect - Telegram Verification with the right parameters and returns the result directly in the conversation
What can I do with Chia WalletConnect - Telegram Verification in my finance & investment workflow?
将技能文件夹放到 ~/.claude/skills/chia-walletconnect/ 目录(个人级,所有项目可用),或 .claude/skills/chia-walletconnect/(项目级)。重启 AI 客户端后,用 /chia-walletconnect 主动调用,或让 AI 根据上下文自动发现并使用。
Chia WalletConnect - Telegram Verification 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Chia WalletConnect - Telegram Verification 可免费安装使用。请查阅仓库了解许可证信息。
Telegram Web App for Chia wallet verification via WalletConnect and Sage. Enables cryptographic proof of wallet ownership through signature verification using MintGarden API.
Lists the top use cases for Chia WalletConnect - Telegram Verification, with example commands for each scenario
Automate my finance & investment tasks using Chia WalletConnect - Telegram Verification
Identifies repetitive steps in your workflow and sets up Chia WalletConnect - Telegram Verification to handle them automatically
Chia WalletConnect - Telegram Verification 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。