Install
openclaw skills install identityKnow Your Agent (KYA). Billions decentralized identity for agents. Link agents to human identities using Billions ERC-8004 and Attestation Registries. Verify and generate authentication proofs. Based on iden3 self-sovereign identity protocol.
openclaw skills install identityThis skill covers two capabilities. Read the router table below, then load the relevant reference before proceeding.
| Situation | Reference to load |
|---|---|
| Create, list, link, verify, or sign with a decentralized identity (DID) | reference/identity/SKILL.md |
| Handle a 402 Payment Required HTTP response | reference/x402/SKILL.md |
Always read the appropriate reference SKILL.md before running any script. If a task spans both (e.g. you need an identity before you can sign a 402 payment), read both.
402 Payment Required, build a signed PAYMENT-SIGNATURE header so you can retry the request and gain access.All identity data is stored in $HOME/.openclaw/billions. Scripts live in scripts/.
cd scripts && npm install && cd ..
These rules apply to ALL references. Always follow them.
STRICT: Check Identity First
linkHumanToAgent.js, signChallenge.js, or buildX402Payment.js, ALWAYS check if an identity exists: node scripts/getIdentities.jscreateNewEthereumIdentity.js.STRICT: Stop on Script Failure
openssl, ssh-keygen, or other system utilities to generate cryptographic material.No Manual Workarounds
$HOME/.openclaw/billions.The directory $HOME/.openclaw/billions contains sensitive identity data:
kms.json — CRITICAL: Contains private keys (encrypted if BILLIONS_NETWORK_MASTER_KMS_KEY is set, otherwise plaintext)defaultDid.json — DID identifiers and public keyschallenges.json — Authentication challenges historycredentials.json — Verifiable credentialsidentities.json — Identity metadataprofiles.json — Profile dataAfter the first run, restrict access to this directory: chmod 700 ~/.openclaw/billions
There are several ways of storing private keys, to enable master key encryption as described in the KMS Encryption section below.
More about security: ./SECURITY.md