Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

awp

БесплатноБез исполняемых скриптовНе проверен

AWP (Agent Work Protocol) — the complete toolkit for agent mining on Base, Ethereum, Arbitrum, and BSC. Use this skill when the user explicitly mentions AWP…

awp-coreот awp-core★ 232 звезды на GitHub

Об этом скилле

AWP Registry

Skill version: 1.9.1

Requirements & Security

  • Runtime: python3, node (for wallet-raw-call.mjs bridge)
  • Wallet: awp-wallet CLI — install from https://github.com/awp-core/awp-wallet
  • Credential: awp-wallet session token (passed as --token; generated by awp-wallet unlock; no user-supplied password). New wallet versions no longer require unlock — --token is optional for backwards compatibility with older wallets.
  • Chain: EVM_CHAIN env var (optional, default: base). Accepts name or numeric ID.
  • Network endpoints (hardcoded, not overridable — security by design to prevent env-var hijacking):
    • https://api.awp.sh/v2 — AWP JSON-RPC API
    • https://mainnet.base.org — Base EVM RPC
    • wss://api.awp.sh/ws/live — WebSocket for real-time events (optional)
  • Files written (all opt-in, daemon requires explicit user consent):
    • ~/.awp/daemon.pid, ~/.awp/daemon.log — background monitor
    • ~/.awp/notifications.json, ~/.awp/status.json — protocol status cache
    • ~/.awp/openclaw.json — OpenClaw push config (user-created only, skill never auto-creates)

API — JSON-RPC 2.0

All API calls in this skill use JSON-RPC 2.0 via POST:

POST https://api.awp.sh/v2
Content-Type: application/json

Request: {"jsonrpc":"2.0","method":"namespace.method","params":{...},"id":1} Discovery: GET https://api.awp.sh/v2 | WebSocket: wss://api.awp.sh/ws/live | Batch: up to 20 per request.

Explorers: Base → basescan.org | Ethereum → etherscan.io | Arbitrum → arbiscan.io | BSC → bscscan.com

Throughout this document, all curl commands use JSON-RPC POST to https://api.awp.sh/v2. Do not use REST-style GET paths.

API Method Reference

System

Method Params Description
stats.global none Global protocol stats: total users, worknets, staked AWP, emitted AWP, active chains
registry.get chainId? All contract addresses + EIP-712 domain info. Omit chainId for array of all 4 chains.
health.check none Returns {"status": "ok"} if API is running
health.detailed none Per-chain health: indexer sync block, keeper status, RPC latency
chains.list none Array of {chainId, name, status, explorer} for all supported chains

Users

Method Params Description
users.list chainId?, page?, limit? Paginated user list for one chain
users.listGlobal page?, limit? Cross-chain deduplicated user list
users.count chainId? Total registered user count
users.get address (required), chainId? User details: balance, bound agents, recipient, registration status
users.getPortfolio address (required), chainId? Complete portfolio: identity + staking + NFT positions + allocations + delegates
users.getDelegates address (required), chainId? List of addresses this user has authorized as delegates

Address & Nonce

Method Params Description
address.check address (required), chainId? Check registration status, binding, recipient. See response format below.
address.resolveRecipient address (required), chainId? Walk bind chain to root, return effective reward recipient
address.batchResolveRecipients addresses[] (required, max 500), chainId? Batch resolve effective recipients (on-chain call)
nonce.get address (required), chainId? AWPRegistry EIP-712 nonce (for bind/unbind/setRecipient/registerWorknet/grantDelegate/revokeDelegate). Note: may lag behind on-chain state; prefer reading AWPRegistry.nonces(user) on-chain for signing.
nonce.getStaking address (required), chainId? AWPAllocator EIP-712 nonce (for allocate/deallocate). Note: may lag behind on-chain state; prefer reading AWPAllocator.nonces(user) on-chain for signing.

Agents

Method Params Description
agents.getByOwner owner (required), chainId? All agents (addresses) that have bound to this owner
agents.getDetail agent (required), chainId? Agent details: owner, binding chain, delegated status
agents.lookup agent (required), chainId? Quick lookup: returns {"ownerAddress": "0x..."}
agents.batchInfo agents[] (required, max 100), worknetId (required), chainId? Batch query: agent info + their stake in specified worknet

Staking

Method Params Description
staking.getBalance address (required), chainId? Returns {totalStaked, totalAllocated, unallocated} in wei strings
staking.getUserBalanceGlobal address (required) Same as above but aggregated across ALL chains
staking.getPositions address (required), chainId? Array of veAWP positi
Полный SKILL.md на GitHub

Установить awp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignoreCHANGELOG.mdLICENSEREADME.mdskill-reference.md

FAQ

Что делает скилл awp?

AWP (Agent Work Protocol) — the complete toolkit for agent mining on Base, Ethereum, Arbitrum, and BSC. Use this skill when the user explicitly mentions AWP, worknets, veAWP, awp-wallet, or AWP-specific operations. Handles: onboarding (wallet setup, registration, worknet joining), staking (deposit, withdraw, gasless relay via ERC-2612 permit), allocation (allocate/deallocate stake to agents on worknets), worknet management (register, pause, resume, cancel), agent binding (link agent wallet to owner), governance (proposals, voting), and querying (balances, positions, emissions, epochs, announcements). Trigger keywords: AWP, veAWP, awp-wallet, worknet, AWPRegistry, AWPAllocator, AWPWorkNet, agent staking (in AWP context), "allocate AWP", "bind my agent", "claim AWP rewards", "AWP emission", "AWP epoch". NOT for: Uniswap, Aave, Lido, Compound, generic Solidity/Hardhat, token swaps, bridging, or non-AWP DeFi protocols. Do NOT trigger on generic phrases like "start working" or "start earning" unless AWP is explicitly mentioned in context.

Как установить скилл awp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл awp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить awp с