← 返回 Skills 市场
d9m1n1c

Blockchain & DID

作者 D9m1n1c · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
192
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aiotnetwork-blockchain-did
功能描述
Decentralized identity (DID) management, on-chain KYC status, and membership tiers with token staking.
使用说明 (SKILL.md)

Blockchain & DID

Use this skill when the user needs to set up a decentralized identity, complete on-chain KYC, or manage membership tiers.

Configuration

The default API base URL is https://payment-api-dev.aiotnetwork.io. All endpoints are relative to this URL.

To override (e.g. for local development):

export AIOT_API_BASE_URL="http://localhost:8080"

If AIOT_API_BASE_URL is not set, use https://payment-api-dev.aiotnetwork.io as the base for all requests.

Available Tools

  • get_did_status — Get the user's decentralized identity (DID) status | GET /api/v1/blockchain/did | Requires auth
  • create_did — Create a new decentralized identity on-chain | POST /api/v1/blockchain/did | Requires auth
  • get_blockchain_kyc — Get on-chain KYC verification status | GET /api/v1/blockchain/kyc | Requires auth
  • complete_blockchain_kyc — Complete on-chain KYC at a given level (basic, standard, or enhanced) | POST /api/v1/blockchain/kyc/complete | Requires auth
  • get_membership — Get membership status and tier | GET /api/v1/blockchain/membership/status | Requires auth
  • get_membership_tiers — Get available membership tier configurations | GET /api/v1/blockchain/membership/tiers | Requires auth
  • stake_tokens — Stake tokens to upgrade membership tier | POST /api/v1/blockchain/membership/stake | Requires auth

Recommended Flows

Setup Decentralized Identity

Create a DID and complete on-chain KYC

  1. Check DID: GET /api/v1/blockchain/did — see if user already has a DID
  2. Create DID: POST /api/v1/blockchain/did — if none exists
  3. Check on-chain KYC: GET /api/v1/blockchain/kyc
  4. Complete KYC: POST /api/v1/blockchain/kyc/complete with {level: basic|standard|enhanced}

Upgrade Membership

Stake tokens to reach a higher membership tier

  1. View tiers: GET /api/v1/blockchain/membership/tiers — see requirements
  2. Check current: GET /api/v1/blockchain/membership/status
  3. Stake: POST /api/v1/blockchain/membership/stake with {amount}

Rules

  • DID creation is a one-time operation — once active, it cannot be recreated
  • On-chain KYC and off-chain (MasterPay) KYC are independent — completing one does not require the other
  • Staking records the token amount for tier calculation — tier is determined by the staked amount
  • Higher tiers unlock lower fees and additional features (Tier 1: 10%, Tier 2: 15%, Tier 3: 20%, Tier 4: 25% discount)

Agent Guidance

Follow these instructions when executing this skill:

  • Always follow the documented flow order. Do not skip steps.

  • If a tool requires authentication, verify the session has a valid bearer token before calling it.

  • If a tool requires a transaction PIN, ask the user for it fresh each time. Never cache or log PINs.

  • Never expose, log, or persist secrets (passwords, tokens, full card numbers, CVVs).

  • If the user requests an operation outside this skill's scope, decline and suggest the appropriate skill.

  • If a step fails, check the error and follow the recovery guidance below before retrying.

  • DID creation is a one-time operation. Once active, it cannot be recreated. Confirm with the user before calling create_did.

  • On-chain KYC and off-chain (MasterPay) KYC are independent systems. Completing complete_blockchain_kyc does not require MasterPay KYC to be approved.

  • complete_blockchain_kyc requires a level parameter: one of "basic", "standard", or "enhanced". Always ask the user which level they want.

  • Staking sets the token amount that determines the membership tier. Tier is calculated from the staked amount: Tier 1 (0 tokens, 10%), Tier 2 (15,000 tokens, 15%), Tier 3 (20,000 tokens, 20%), Tier 4 (25,000 tokens, 25%).

  • Higher membership tiers unlock lower transaction fees and additional platform features.

安全使用建议
Do not install or grant credentials to this skill until the author clarifies authentication and the endpoint. Specific checks to request or perform before using: (1) Ask the publisher for a verifiable homepage, documentation, and a production API base URL (not a -dev host). (2) Ask which auth scheme is required and which exact environment variable name(s) you must provide for bearer tokens or API keys. Prefer short-lived, scope-limited tokens if you must provide credentials. (3) Verify the owner identity and why a dev hostname is embedded in the skill. (4) If you test it, run it in a constrained sandbox and monitor API logs for unexpected calls. (5) Avoid dropping long-lived credentials into the agent; never provide secrets unless you understand where they will be used/stored. If the publisher cannot provide clear answers and a production URL, treat the skill as untrusted.
功能分析
Type: OpenClaw Skill Name: aiotnetwork-blockchain-did Version: 1.0.1 The skill bundle provides standard tools for managing decentralized identities (DID), KYC, and token staking via the AIOT Network API (payment-api-dev.aiotnetwork.io). The instructions in SKILL.md are security-conscious, explicitly directing the agent to never cache or log transaction PINs or secrets and to verify authentication before execution. No indicators of data exfiltration, malicious execution, or prompt injection were found.
能力评估
Purpose & Capability
The skill's name and description line up with the listed REST endpoints (DID, KYC, membership/staking). However, all endpoints are marked 'Requires auth' while the registry only declares AIOT_API_BASE_URL (a URL) as the required environment variable and as the primary credential. Expectation: a DID/KYC/staking integration should declare how auth is supplied (API key, bearer token env var name, OAuth flow, or platform session). Marking a URL as the primary credential is incoherent.
Instruction Scope
SKILL.md gives clear endpoint flows and sensible runtime rules (e.g., ask for PINs, don't persist secrets). But it repeatedly requires authenticated requests and instructs the agent to 'verify the session has a valid bearer token' without specifying how to obtain or where to store that token. The default base URL points to a development hostname (payment-api-dev.aiotnetwork.io), which is unusual for a published skill and may cause unexpected behavior if used in production.
Install Mechanism
This is an instruction-only skill with no install specification and no code files; there is no filesystem install activity. That lowers supply-chain risk.
Credentials
Only AIOT_API_BASE_URL is required, but the runtime requires authentication for every endpoint. There is no declared env var for an API token, client secret, or other credential names (e.g., AIOT_API_KEY, AIOT_BEARER_TOKEN). This gap is disproportionate and ambiguous. Also, marking a URL as the 'primary credential' is misleading.
Persistence & Privilege
The skill does not request persistent/always-on inclusion and does not declare modifications to other skills or system settings. It explicitly advises not to log or cache secrets, which is appropriate. Autonomous invocation is allowed by default (not flagged here), but should be considered in user guidance given other concerns.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aiotnetwork-blockchain-did
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aiotnetwork-blockchain-did 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated documentation for clearer setup and usage of decentralized identity (DID), on-chain KYC, and membership tiers with token staking. - Added detailed recommended flows for DID creation, KYC completion, and membership tier upgrade. - Clarified rules on one-time DID creation, staking mechanics, and tier benefits. - Included agent guidance and security best practices for handling authentication and user secrets. - Specified required environment configuration for API access.
元数据
Slug aiotnetwork-blockchain-did
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Blockchain & DID 是什么?

Decentralized identity (DID) management, on-chain KYC status, and membership tiers with token staking. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 192 次。

如何安装 Blockchain & DID?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aiotnetwork-blockchain-did」即可一键安装,无需额外配置。

Blockchain & DID 是免费的吗?

是的,Blockchain & DID 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Blockchain & DID 支持哪些平台?

Blockchain & DID 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Blockchain & DID?

由 D9m1n1c(@d9m1n1c)开发并维护,当前版本 v1.0.1。

💬 留言讨论