Aawp 标志

Aawp

社区热门
LeoYeAI
aawp

AAWP(AI Agent Wallet Protocol)——唯一专为 EVM 兼容区块链上的 AI 智能体打造的加密钱包协议,不面向人类用户。签名者就是 AI 智能体本身,并在创建钱包时通过密码学方式绑定。支持钱包生命周期管理、代币转账、DEX 兑换、跨链桥接、任意合约交互、DCA 自动化和价格提醒。

Add to TypingMind

概览

发布者LeoYeAI
代码仓库openclaw-master-skills
技能名称aawp
星标数
2.1K
复刻数
325
附带文件
30
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 30 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 LeoYeAI 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Aawp AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/aawp
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git /tmp/openclaw-master-skills
mkdir -p .claude/skills
cp -r /tmp/openclaw-master-skills/skills/aawp .claude/skills/aawp
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Aawp,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Aawp。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Aawp 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

AAWP — AI Agent Wallet Protocol

The only crypto wallet protocol built exclusively for AI Agents. Not for humans.

AAWP enforces a single invariant: the signer is the AI Agent itself — locked in at wallet creation, immutable, verifiable on-chain. AI Agents manage their own on-chain assets across EVM networks through a guardian-based architecture. Transactions are signed locally via a sharded-key daemon — no human approval per tx, with full recovery and freeze capabilities for the human guardian.

Networks: Ethereum · Base · BNB Chain · Polygon · Optimism · Arbitrum


Architecture Overview

┌─────────────────────────────────────────────────┐
│  AI Agent (OpenClaw)                            │
│  ┌───────────────┐    ┌──────────────────────┐  │
│  │ wallet-manager│───▶│  Signing Daemon       │  │
│  │ dca / alerts  │    │  (Unix socket)        │  │
│  └───────────────┘    │  ┌──────────────────┐ │  │
│                       │  │ aawp-core.node   │ │  │
│                       │  │ (Rust N-API)     │ │  │
│                       │  └──────────────────┘ │  │
│                       └──────────┬───────────┘  │
│                                  │ sign          │
│  ┌───────────────┐               ▼              │
│  │ Guardian Key  │──▶ Pay gas ──▶ EVM Chain     │
│  │ (gas only)    │               │              │
│  └───────────────┘    ┌──────────▼───────────┐  │
│                       │ Smart Contract Wallet │  │
│                       │ (holds assets)        │  │
│                       └──────────────────────┘  │
└─────────────────────────────────────────────────┘

Key separation: Guardian pays gas → Wallet holds assets → Daemon signs transactions.


Quick Reference

TaskCommand
Create walletwallet-manager.js --chain base create
Check balancewallet-manager.js --chain base balance
Send ETHwallet-manager.js --chain base send <to> <amount>
Send ERC-20wallet-manager.js --chain base send-token USDC <to> <amount>
Get swap quotewallet-manager.js --chain base quote ETH USDC 0.01
Execute swapwallet-manager.js --chain base swap ETH USDC 0.01
Bridge cross-chainwallet-manager.js --chain base bridge ETH optimism 0.1
Contract callwallet-manager.js --chain base call <addr> "fn(args)" ...
Contract readwallet-manager.js --chain base read <addr> "fn() returns (uint)" ...
DCA strategydca.js add --chain base --from ETH --to USDC --amount 0.01 --cron "0 9 * * *"
Price alertprice-alert.js add --chain base --from ETH --to USDC --above 2600 --notify
Cross-chain portfolioportfolio.js
Single chain portfolioportfolio.js --chain base
Limit orderlimit-order.js --chain base create ETH USDC 0.1 2700
List orderslimit-order.js --chain base list
List NFTsnft.js --chain base balance
NFT transfernft.js --chain base transfer <contract> <tokenId> <to>
NFT floor pricenft.js --chain eth floor <contract>
Yield ratesyield.js --chain base rates
Supply collateralyield.js --chain base supply USDC 1000
Borrowyield.js --chain base borrow USDC 200
Aave positionsyield.js --chain base positions
Diagnosticsbash scripts/doctor.sh
Backupwallet-manager.js backup ./backup.tar.gz

All commands: node scripts/wallet-manager.js --help


Getting Started

1. Provision

First run is automatic — ensure-daemon.sh detects a missing seed and provisions.

bash
bash scripts/provision.sh            # Initialize
bash scripts/provision.sh --reset    # Full reset (⚠️ destroys existing wallet)

2. Create Wallet

bash
node scripts/wallet-manager.js --chain base create

If the Guardian needs gas, you'll see a funding guide with the Guardian address and private key.

3. Pin & Fund

bash
export AAWP_WALLET=0x...            # Pin your wallet address
# Send a small amount of native token to the wallet address
node scripts/wallet-manager.js --chain base balance

4. Test

bash
node scripts/wallet-manager.js --chain base quote ETH USDC 0.001
node scripts/wallet-manager.js --chain base swap ETH USDC 0.001

After fresh provisioning, verify the daemon binary hash is approved on the factory contract. If not, the factory owner must call approveBinary(hash).


Wallet Manager CLI

Entry point: node scripts/wallet-manager.js Chain flag: --chain <base|bsc|polygon|optimism|arbitrum|ethereum>

Wallet Lifecycle

bash
wallet-manager.js --chain base status          # Status overview
wallet-manager.js --chain base balance         # Native + token balances
wallet-manager.js --chain base portfolio       # Full portfolio view
wallet-manager.js compute-address              # Predict wallet address
wallet-manager.js --chain base history         # Transaction history
wallet-manager.js --chain base upgrade-signer  # Rotate signer key
wallet-manager.js --chain base guardian-chains  # Guardian chain info

Transfers

bash
wallet-manager.js --chain base send <recipient> <amount>
wallet-manager.js --chain base send-token <symbol> <recipient> <amount>

Trading

bash
wallet-manager.js --chain base quote <from> <to> <amount>    # Preview (no gas)
wallet-manager.js --chain base swap <from> <to> <amount>     # Execute
wallet-manager.js --chain base bridge <token> <dest> <amount> # Cross-chain

Approvals

bash
wallet-manager.js --chain base approve <token> <spender> <amount>
wallet-manager.js --chain base allowance <token> <spender>
wallet-manager.js --chain base revoke <token> <spender>

Contract Interaction

bash
# Write (sends tx)
wallet-manager.js --chain base call <contract> "transfer(address,uint256)" 0xTo 1000

# Read (free)
wallet-manager.js --chain base read <contract> "balanceOf(address) returns (uint256)" 0xAddr

# Batch (atomic)
wallet-manager.js --chain base batch ./calls.json

Batch format:

json
[
  { "to": "0x...", "sig": "approve(address,uint256)", "args": ["0x...", "1000000"] },
  { "to": "0x...", "sig": "transfer(address,uint256)", "args": ["0x...", "500000"] }
]

Address Book

bash
wallet-manager.js addr add <label> <address>
wallet-manager.js addr list
wallet-manager.js addr get <label>
wallet-manager.js addr remove <label>

RPC & Backup

bash
wallet-manager.js get-rpc
wallet-manager.js --chain base set-rpc <url|default>
wallet-manager.js backup ./backup.tar.gz
wallet-manager.js restore ./backup.tar.gz

DCA Automation

Entry point: node scripts/dca.js

bash
dca.js add --chain base --from ETH --to USDC --amount 0.01 --cron "0 9 * * *" --name "Daily ETH→USDC"
dca.js list
dca.js run <id>
dca.js history <id>
dca.js remove <id>

Registers an OpenClaw cron job that executes swaps on schedule.


Price Alerts

Entry point: node scripts/price-alert.js

bash
# Notification only
price-alert.js add --chain base --from ETH --to USDC --above 2600 --notify

# Auto-swap on trigger
price-alert.js add --chain base --from ETH --to USDC --below 2200 --notify --auto-swap 0.01

price-alert.js list
price-alert.js check
price-alert.js remove <id>

Daemon Management

ScriptPurpose
scripts/doctor.shFull diagnostic check
scripts/ensure-daemon.shStart daemon if not running (auto-provisions on first run)
scripts/restart-daemon.shForce restart

Run doctor.sh before sensitive operations or when signing seems off.


Cross-Chain Portfolio View

Entry point: node scripts/portfolio.js Supported chains: All 6 (base · eth · arb · op · polygon · bsc) — queried in parallel

Commands

bash
portfolio.js                      # Full cross-chain summary with USD values
portfolio.js --chain base         # Single chain only
portfolio.js --no-prices          # Skip CoinGecko pricing (faster)
portfolio.js --hide-zero          # Hide zero-balance tokens
portfolio.js --json               # Raw JSON output (for automation)

Output Includes

  • Native balance per chain (ETH / BNB / MATIC)
  • All ERC-20 token balances via Multicall3 (1 RPC call per chain)
  • USD value per token (CoinGecko public API)
  • Total portfolio value across all chains
  • Top 8 holdings ranked by USD value with % allocation
  • Multi-chain holdings — same token aggregated across chains

Tokens tracked: USDC, USDT, WETH, DAI, WBTC, BNB/WBNB, MATIC, ARB, OP, CAKE, AERO, GMX, PEPE, and more per chain.


Limit Orders (CoW Protocol — Gasless)

Entry point: node scripts/limit-order.js Supported chains: eth · base · arb · op · polygon (CoW Protocol) · bsc (1inch Limit Orders)

Orders are signed off-chain (EIP-712) and settled by solvers — no gas on order creation (except BSC cancel which is on-chain).

Commands

bash
limit-order.js --chain base create ETH USDC 0.1 2700      # Sell 0.1 ETH at ≥2700 USDC
limit-order.js --chain eth create USDC ETH 1000 0.00037   # Buy ETH with 1000 USDC
limit-order.js --chain base list                           # List open orders
limit-order.js --chain base history                        # All orders (filled/expired)
limit-order.js --chain base cancel <orderUid>              # Cancel open order
limit-order.js --chain base create ETH USDC 0.1 2700 --expiry 48   # 48h validity

Notes:

  • First-time use requires one ERC-20 approval transaction (CoW VaultRelayer)
  • price = amount of buyToken per 1 sellToken
  • Orders persist in config/limit-orders.json for local tracking

NFT Operations (ERC-721 & ERC-1155)

Entry point: node scripts/nft.js Supported chains: All 6 chains (BSC via BscScan NFT API)

Commands

bash
nft.js --chain base balance                          # List all NFTs (via Alchemy public API)
nft.js --chain eth balance --contract 0xBC4C...      # NFTs from specific collection
nft.js --chain eth info 0xBC4C... 1234               # Token metadata, owner, traits
nft.js --chain base transfer 0xNFT... 42 0xTo...     # ERC-721 transfer
nft.js --chain base transfer 0xNFT... 42 0xTo... 5   # ERC-1155 transfer (amount=5)
nft.js --chain base approve 0xNFT... 0xOperator...   # setApprovalForAll = true
nft.js --chain base revoke  0xNFT... 0xOperator...   # setApprovalForAll = false
nft.js --chain base mint 0xContract...               # Call mint() on contract
nft.js --chain base mint 0xContract... 0xcalldata    # Mint with custom calldata
nft.js --chain eth floor 0xBC4C...                   # Floor price from OpenSea

Notes:

  • balance auto-detects ERC-721 vs ERC-1155 and fetches metadata
  • info resolves IPFS URIs and displays traits
  • floor queries OpenSea public API; Blur link provided for ETH collections

Yield / DeFi (Aave V3)

Entry point: node scripts/yield.js Supported chains: base · eth · arb · op · polygon (Aave V3) · bsc (Venus Protocol)

Commands

bash
yield.js --chain base rates                    # Show supply/borrow APY for all tokens
yield.js --chain base positions                # Show active Aave positions & health factor
yield.js --chain base supply USDC 1000         # Supply 1000 USDC as collateral
yield.js --chain base withdraw USDC 500        # Withdraw 500 USDC
yield.js --chain base withdraw USDC max        # Full withdrawal
yield.js --chain base borrow USDC 200          # Borrow 200 USDC (variable rate, default)
yield.js --chain base borrow USDC 200 --rate stable   # Borrow at stable rate
yield.js --chain base repay USDC 200           # Repay partial debt
yield.js --chain base repay USDC max           # Full repayment

Supported Tokens by Chain

ChainTokens
baseUSDC, WETH, cbBTC, USDbC
ethUSDC, USDT, DAI, WBTC, WETH
arbUSDC, USDT, WETH, WBTC, DAI
opUSDC, USDT, WETH, WBTC, DAI
polygonUSDC, USDT, WETH, WBTC, DAI, WMATIC

Safety note: Always check your health factor after borrowing. Health factor < 1.0 triggers liquidation. Use positions to monitor.


Token Launch (Clanker V4)

Deploy a token via your AAWP wallet as the on-chain deployer, admin, and LP fee recipient.

Script: scripts/deploy-clanker.js

Supported chains

KeyChainChainId
baseBase8453
ethEthereum1
arbArbitrum42161
unichainUnichain130
beraBerachain143
bscBSC56

Usage

bash
# 1. Edit CONFIG at the top of the script
# 2. Preview (no broadcast)
node scripts/deploy-clanker.js --dry-run

# 3. Deploy
node scripts/deploy-clanker.js

CONFIG reference

js
const CONFIG = {
  chain:       'base',          // base | eth | arb | unichain | bera | bsc
  name:        'My Token',
  symbol:      'MTK',
  image:       'https://...',   // square image URL
  description: '...',
  website:     '',              // optional
  twitter:     '',              // optional

  initialMarketCap: 10,         // ETH (min ~10 ≈ $25K FDV)
  poolPositions:    'Standard', // Standard | Project | TwentyETH
  feeConfig:        'StaticBasic', // StaticBasic (1%) | DynamicBasic | Dynamic3
  devBuyEth:        0.003,      // ETH to buy at launch (0 to skip)

  vault: {
    enabled:     false,         // true = lock a portion of supply
    percentage:  20,            // % of supply (1–90)
    lockupDays:  7,             // cliff (min 7 days)
    vestingDays: 180,           // linear unlock after cliff
  },

  tokenAdmin:      null,        // null = AAWP wallet
  rewardRecipient: null,        // null = AAWP wallet (receives LP fees)
};

How it works: the AAWP wallet calls Clanker.deployToken() directly (gas limit 8M). tokenAdmin and all LP fee rewards default to the AAWP wallet — the AI Agent owns its token end-to-end.


Deployment Reference

AAWP contracts share identical addresses across all chains via CREATE2 vanity deployment:

ContractAddress
Factory Proxy0xAAAA3Df87F112c743BbC57c4de1700C72eB7aaAA
Identity Proxy0xAAAafBf6F88367C75A9B701fFb4684Df6bCA1D1d

Verified on: Etherscan · BaseScan · BscScan · PolygonScan · Optimistic Etherscan · Arbiscan


Security

RuleWhy
Fund the wallet, not the guardianGuardian only pays gas — your assets live in the wallet contract
Pin wallet addressexport AAWP_WALLET=0x... prevents operating on wrong address
Quote before swapPreview rates and slippage before executing
Start smallTest with minimal amounts on new chains or operations
Never expose secretsSeeds, keys, shards must never appear in logs or chat
Verify binary approvalConfirm daemon hash is approved on factory after provisioning

Troubleshooting

ErrorFix
E_AI_GATE / hmac_mismatchRestart daemon: bash scripts/restart-daemon.sh
InvalidSignatureVerify signer alignment and binary approval on factory
Call failedCheck balance, gas, and transaction parameters
E40 / E41Kill duplicate daemon process, then restart
BinaryNotApprovedFactory owner must call approveBinary(hash) on all 6 chains
TX reverts with ~1M gas usedAdd --gas-limit 8000000 — Clanker V4 / Uniswap V4 ops need up to 6M

File Structure

aawp/
├── SKILL.md                    # This document
├── WALLET_SETUP.md             # First-time setup guide
├── config/
│   ├── chains.json             # Network RPC & contract addresses
│   └── guardian.json           # Guardian wallet (auto-generated, gitignored)
├── scripts/
│   ├── wallet-manager.js       # Primary CLI
│   ├── dca.js                  # DCA automation
│   ├── price-alert.js          # Price alert system
│   ├── provision.sh            # Initial provisioning
│   ├── doctor.sh               # Diagnostics
│   ├── ensure-daemon.sh        # Daemon lifecycle
│   └── restart-daemon.sh       # Force restart
├── core/
│   ├── aawp-core.node          # Native signing addon (linux-x64)
│   ├── aawp-core.node.hash     # Binary integrity hash
│   ├── loader.js               # Addon loader
│   └── index.d.ts              # TypeScript declarations
└── daemon/                     # Daemon implementation

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Aawp AI 技能有什么作用?

AAWP(AI Agent Wallet Protocol)——唯一专为 EVM 兼容区块链上的 AI 智能体打造的加密钱包协议,不面向人类用户。签名者就是 AI 智能体本身,并在创建钱包时通过密码学方式绑定。支持钱包生命周期管理、代币转账、DEX 兑换、跨链桥接、任意合约交互、DCA 自动化和价格提醒。

为什么在 TypingMind 中使用 Aawp?

因为您只需安装一次,就能搭配任何模型使用。Aawp 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Aawp?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/aawp。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Aawp?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Aawp 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Aawp 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Aawp AI 技能免费吗?

是的。LeoYeAI 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇