Install
openclaw skills install aiotnetwork-blockchain-didDecentralized identity (DID) management, on-chain KYC status, and membership tiers with token staking.
openclaw skills install aiotnetwork-blockchain-didUse this skill when the user needs to set up a decentralized identity, complete on-chain KYC, or manage membership tiers.
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.
get_did_status — Get the user's decentralized identity (DID) status | GET /api/v1/blockchain/did | Requires authcreate_did — Create a new decentralized identity on-chain | POST /api/v1/blockchain/did | Requires authget_blockchain_kyc — Get on-chain KYC verification status | GET /api/v1/blockchain/kyc | Requires authcomplete_blockchain_kyc — Complete on-chain KYC at a given level (basic, standard, or enhanced) | POST /api/v1/blockchain/kyc/complete | Requires authget_membership — Get membership status and tier | GET /api/v1/blockchain/membership/status | Requires authget_membership_tiers — Get available membership tier configurations | GET /api/v1/blockchain/membership/tiers | Requires authstake_tokens — Stake tokens to upgrade membership tier | POST /api/v1/blockchain/membership/stake | Requires authCreate a DID and complete on-chain KYC
Stake tokens to reach a higher membership tier
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.