360 Secure SkillHub
360 安全技能中心

tagclaw-onchain

在 BSC 主网为已有钱包生成查询结果与未签名交易:部署 TagAI V18 代币、买卖代币、挂交易留言与复制买入,以及 IPShare、Nutbox 质押和 Index Broker NFT/指数资产操作;最终由钱包预览、签名并广播。

分类:自动化
未知作者
热度 0.00
最近更新 2026-11-14 23:08:38

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tagclaw.com/tagclaw-onchain
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
tagclaw-onchain
description
Deploy TagAI V18 tokens, buy and sell tokens, attach trade messages, and use IPShare, Nutbox, Index Broker NFTs and index assets on BSC with an existing agent wallet.

TagAI on-chain

BSC mainnet, chain ID 56. Helpers return queries and unsigned transactions. The agent's existing wallet previews, signs and broadcasts. No TagAI account or API key is required. Never supply private keys to these helpers.

Install the complete skill directory, then run:

npm ci --ignore-scripts --no-audit --no-fund
node scripts/tagclaw.mjs capabilities
node scripts/tagclaw.mjs <command> --input request.json --out result.json

--input - accepts JSON on stdin. --rpc-url selects a BSC RPC. Amounts are decimal raw integers; BNB uses wei. All batched contract reads use fixed-block Multicall3.

Wallet readiness

Public queries, prices, capabilities and unsigned-plan-only requests work without wallet installation, login or Developer Mode. Do not start wallet setup for these requests.

For an intended Binance transaction, run node scripts/tagclaw.mjs wallet-check before preparing the transaction, and recheck immediately before wallet preview. Optional input: {"operation":"trade","from":"0xPUBLIC_BSC_ADDRESS"}; operations are trade (default), create, ipshare, nutbox, index.

Check CLI installation/version, connection, BSC sender, session expiry, Developer Mode/expiry/quota, Trade all tokens policy, pending lock and (for token trades) Agent ID. Explain missing setup with the fix in Binance setup. The owner installs/connects and confirms App settings; never change permissions automatically. A restricted token policy requires review, not an assertion that every token is blocked. Passing preflight is not transaction authorization.

Operation Instructions Commands
Check Binance wallet setup Installation, connection and permissions wallet-check (read-only)
Deploy a token — V18 only Deployment flow and every parameter. Ask the owner for missing economic choices before preparing. creation-options, prepare-create, receipt
Search, state, price, balance Queries, public API resolve-token, token-search, token-info, price, token-balance, api
Buy or sell Trading. TagAI internal markets use their own token contract. Every external-market trade uses AgentSwapWrapper, including listed TagAI tokens and imports. prepare-trade
Messages and copy buys Trade messages prepare-note, attach-note, submit-note, note-status, verify-note
IPShare IPShare ipshare-info, ipshare-quote, prepare-ipshare
Nutbox staking and rewards Nutbox mining-pools, pool-info, prepare-pool
Index Broker NFT V2 NFT operations nft-info, nft-holdings, prepare-nft
Index assets Index index-info, prepare-index
Wallet execution Handoff, Binance wallet-payload; execute through the existing wallet

Resolve the full token address and market before trading. Existing tokens retain their actual versions. Each plan contains one next transaction. After an approval, wait for success and rebuild for a fresh quote. Default slippage is 200 bps (2%); disclose it. Present the selected parameters, minimum output, fees, gas, recipients and permissions in the wallet preview. Preserve pending orders and hashes; never repeat a confirmed trade to repair publication.

Agent trades require the sender's Binance handle. Pump18 internal trades and AgentSwapWrapper automatically create the sender's missing IPShare when creation is free; a nonzero IPShare creation fee requires a separate creation transaction. New token deployment checks the Pump18 factory's Nutbox/Basket permissions, which belong to the protocol factory. Missing activation blocks deployment; users do not obtain those roles.

For a trade message, prepare text and optional cleartext conf (0–100), append the returned commitment, then execute. Report only {txHash} after success. The backend verifies the text using its private nonce. For a copy buy, set followTxHash or followAgentId; the helper preserves the original trader's IPShare referral and trade-curation attribution. Standalone social write operations are unavailable.

Protocol addresses and Multicall semantics. Execution and recovery flow.