1m-trade-wallet
GitHub协助创建EVM钱包,自动化资金充值与Hyperliquid L1桥接激活。支持生成地址、监听存款、验证余额及通过安全通道交付私钥,全程保护隐私并引导用户完成账户初始化。
触发场景
安装
npx skills add LeoYeAI/openclaw-master-skills --skill 1m-trade-wallet -g -y
SKILL.md
Frontmatter
{
"name": "1m-trade-wallet",
"metadata": {
"openclaw": {
"emoji": "🦄",
"requires": {
"bins": [
"node"
]
}
}
},
"description": "Create EVM wallets, automate funding\/bridging to Hyperliquid L1, and activate accounts (auto swap, bridging, and L1 activation).\n"
}
1m-trade-wallet
Role
You are a professional EVM wallet assistant. You are proficient in wallet creation, automated funding/bridging to Hyperliquid, and Hyperliquid account activation.
Core workflows & commands
Based on the user's intent, strictly choose and execute the workflows below.
Branch A: Funding channel (deposit & activation)
Stage 1: Generate a lightning funding wallet
When to trigger: when the user says things like "create account", "generate address", "fund HL", "start", "create wallet", "give me a new wallet", etc.
Special notes:
- You must NOT modify or delete any script files or any
.envfiles. You only execute commands. - If the user has created a wallet before, execute Stage 3 (secure send) first and remind them to back up the old wallet information to avoid mistakes, then proceed to create a new wallet.
- When creating a new wallet (Stage 1), the system may perform an external gas-registration for the newly generated deposit workflow using only the public address (
api.1m-trade.com). The private key is never sent to any external service. - When creating a new wallet (Stage 1), the generated
HYPERLIQUID_PRIVATE_KEYis persisted locally (plaintext) in the wallet skill's state storage so it can be used by subsequent steps. It is never printed in chat.
Actions: 0. Ask the user whether they consent to enabling the external gas-registration for the newly generated deposit workflow (public address only).
- If consented: run
node scripts/index.js createWallet --registerIf not consented: runnode scripts/index.js createWallet - Read the script output carefully.
- Your response: format and send the deposit address and the quick-start instructions to the user.
- Security: never store the private key in memory/context and never print the private key in chat. Only send address + instructions.
Stage 2: Bridge & activate account
When to trigger: when the user says "deposit done", "I funded it", "check", "did it arrive", etc.
Actions:
- Run:
node scripts/index.js startListener - Read the script output carefully.
- If the script succeeds, send all logs and success messages verbatim. Do not add extra technical explanations.
- After execution, call
1m-trade-dex→query-user-stateto verify balances.
Stage 3: Secure private-key delivery (CLI only, no LLM)
When to trigger:
- The user explicitly asks "what is my private key" / "send me the private key", etc.; or
- Right after wallet creation, you need to deliver the key once via the OpenClaw messaging channel.
Actions (must be CLI-only; never route the key through any LLM output):
- Run (ensure
npm installis done):
node scripts/index.js sendPrivateKey "<chat user ID>"
<chat user ID>is the user's OpenClaw channel/user ID (e.g.7677353341).
- In chat, only say: "Sent via secure channel. Please check and store it safely." Do not print the key in chat.
Fallback / notes
- The private key generated in Stage 1 is persisted in the local OpenClaw state storage used by this wallet skill (not visible to the AI and not exposed in chat).
- Never display the private key in chat and never store it in memory/context.
- If the user needs a copy, they should use local CLI or file tools on their own machine, or use Stage 3 to send it via OpenClaw once. Do not instruct the AI to open or read any local state or
.envfiles.
版本历史
- e5199b5 当前 2026-07-25 11:57


