360 Secure SkillHub
360 安全技能中心

Virtuals

Virtuals Protocol 集成 Skill,提供 Node/TypeScript CLI,可查询 $VIRTUAL 行情、Agent 列表与详情、钱包余额,并在 Base L2 创建代币化 AI Agent、买卖 Agent 代币;依赖 GAME SDK、ethers.js 与外部 API,交易需配置钱包地址与私钥,文档标注仅限测试网。

rojasjuniore
rojasjuniore
热度 54.38
最近更新 2026-05-18 12:00:22
分类:自动化依赖:代码执行 / 第三方 API应用场景:财务 / 市场分析 / 自动化脚本 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add virtuals
Metadata
name
virtuals
version
1.0.0
description
Virtuals Protocol integration for OpenClaw. Create, manage and trade tokenized AI agents on Base.
metadata
{"openclaw":{"emoji":"🎭","homepage":"https://virtuals.io"}}

Virtuals Protocol Skill 🎭

Create, manage and trade tokenized AI agents on Virtuals Protocol (Base L2).

Features

  • 📊 List agents - Browse top AI agents on Virtuals
  • 💰 Check prices - Get agent token prices and market data
  • 🔍 Agent details - View agent info, holders, transactions
  • 🚀 Create agent - Launch your own tokenized AI agent
  • 💸 Trade - Buy/sell agent tokens

Installation

clawhub install virtuals
cd ~/.openclaw/skills/virtuals
npm install && npm run build && npm link

Quick Start

# Check $VIRTUAL price
virtuals price

# List top agents
virtuals agents list

# Get agent details
virtuals agents info <agent-name>

# Check your balance
virtuals balance <wallet-address>

Commands

Market Data

virtuals price                    # $VIRTUAL price and market cap
virtuals agents list [--top 10]   # List top agents by market cap
virtuals agents trending          # Trending agents (24h volume)

Agent Info

virtuals agents info <name>       # Agent details
virtuals agents holders <name>    # Top holders
virtuals agents trades <name>     # Recent trades

Wallet

virtuals balance <address>        # Check $VIRTUAL balance
virtuals portfolio <address>      # All agent tokens held

Create Agent (requires funds)

virtuals create --name "MyAgent" --ticker "AGENT" --description "..."

Trade (requires funds)

virtuals buy <agent> <amount>     # Buy agent tokens
virtuals sell <agent> <amount>    # Sell agent tokens

Configuration

Set your wallet for trading:

virtuals config --wallet <address> --private-key <key>

⚠️ TESTNET ONLY for now - Don't use mainnet funds.

Architecture

┌─────────────────────────────────────┐
│         virtuals CLI                │
├─────────────────────────────────────┤
│  @virtuals-protocol/game SDK        │
│  + ethers.js (Base L2)              │
├─────────────────────────────────────┤
│  Virtuals Protocol Contracts        │
│  • VIRTUAL Token                    │
│  • Agent Factory                    │
│  • Bonding Curves                   │
│  • Uniswap V2 Pools                 │
└─────────────────────────────────────┘

Contract Addresses (Base)

Contract Address
$VIRTUAL 0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b

Resources

License

MIT


Built for OpenClaw by IntechChain 🦞