0xreisearch/ercdata/SKILL.md
Store, verify, and manage AI data on the Ethereum blockchain (Base network) using the ERCData standard. Use when an agent needs to store data fingerprints on-chain, verify data integrity, create audit trails, manage access control for private data, or interact with the ERCData smart contract. Supports public and private storage, EIP-712 verification, snapshots, and batch operations.
npx skillsauth add openclaw/skills ercdataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Store and verify AI-related data on Base mainnet. Public or private, with cryptographic integrity proofs.
# Store public data
uv run {baseDir}/scripts/ercdata-cli.py store \
--type AI_AGENT_MEMORY \
--data "memory hash: abc123" \
--metadata '{"agent":"MyBot","ts":"2026-01-31"}' \
--key $ERCDATA_KEY --contract $ERCDATA_CONTRACT
# Store private data (only you + granted addresses can read)
uv run {baseDir}/scripts/ercdata-cli.py store \
--type AI_AGENT_MEMORY \
--data "secret memory data" \
--private \
--key $ERCDATA_KEY --contract $ERCDATA_CONTRACT
# Read entry
uv run {baseDir}/scripts/ercdata-cli.py read --id 1 --key $ERCDATA_KEY --contract $ERCDATA_CONTRACT
# Verify entry (EIP-712 signature check)
uv run {baseDir}/scripts/ercdata-cli.py verify --id 1 --method eip712 --key $ERCDATA_KEY --contract $ERCDATA_CONTRACT
# Grant access to private entry
uv run {baseDir}/scripts/ercdata-cli.py grant-access --id 2 --to 0xSomeAddress --key $ERCDATA_KEY --contract $ERCDATA_CONTRACT
Set via environment or skill config:
ERCDATA_KEY — Private key for signing transactions (required for writes)ERCDATA_CONTRACT — Contract address on Base mainnetERCDATA_RPC — RPC URL (default: https://mainnet.base.org)Or pass via --key, --contract, --rpc flags.
| Command | What it does |
|---------|-------------|
| store | Store data on-chain (add --private for access control) |
| read | Read a data entry by ID |
| verify | Verify data integrity (eip712 or hash method) |
| grant-access | Grant read access to an address (private entries) |
| revoke-access | Revoke read access |
| register-type | Register a new data type (admin only) |
| snapshot | Create a point-in-time snapshot |
| info | Get entry info without full data |
getData(). Use for transparency, audit trails.--private): Only the provider, granted addresses, and admin can read. Use for sensitive agent data.Private entries store the same data on-chain but gate getData() access. Note: raw transaction calldata is still visible on-chain explorers. For maximum privacy, encrypt data before storing.
See references/api.md for full contract API, roles, events, and limits.
web3 and eth-account packages (auto-installed by uv)tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。