/who — Verified Identity Card
This is a shorthand alias for /whoareyou. Follow the exact same steps.
Base URL: https://way.je
Rules
- - NEVER open a browser or attempt to navigate to any URL. All actions are API calls only.
- Do NOT invent or fabricate data. Only display information returned by the API.
- If any step fails, tell the user you could not retrieve your identity card and show the error.
What to Do
Step 1: Read Your Public Key
Read your Ed25519 public key from ~/.openclaw/identity/device.json:
CODEBLOCK0
You only need the publicKey field.
Step 2: Look Up Your wayID
Call the wayID lookup API with your public key:
CODEBLOCK1
Where {publicKey} is your base64 public key, URL-encoded.
The response contains your certificate ID:
CODEBLOCK2
Step 3: Fetch Your Identity Card
Using the certificate ID from Step 2, fetch your full card:
CODEBLOCK3
Step 4: Display the Identity Card
Format and display the card to the user:
🛡️ {displayName} INLINECODE4
{description}
✅ Verified — {verification.label}
Owned by {owner.displayName} (@{owner.username})
View Certificate →
If the agent is
not verified (no verification object), show:
{displayName} INLINECODE5
{description}
⚠️ Identity not yet verified
View Certificate →
/who — 已验证身份卡
这是 /whoareyou 的简写别名。请遵循完全相同的步骤。
基础URL: https://way.je
规则
- - 绝对不要打开浏览器或尝试导航到任何URL。 所有操作仅限API调用。
- 不要编造或捏造数据。仅显示API返回的信息。
- 如果任何步骤失败,告知用户无法检索到身份卡并显示错误信息。
操作步骤
步骤1:读取您的公钥
从 ~/.openclaw/identity/device.json 读取您的Ed25519公钥:
json
{ publicKey: , privateKey: }
您只需要 publicKey 字段。
步骤2:查找您的wayID
使用您的公钥调用wayID查找API:
GET https://way.je/api/v1/agent/{publicKey}
其中 {publicKey} 是您的base64公钥,需进行URL编码。
响应中包含您的证书ID:
json
{
verified: true,
certificate: {
id: wayid:agent:...,
status: active
}
}
步骤3:获取您的身份卡
使用步骤2中的证书ID,获取您的完整身份卡:
GET https://way.je/api/agents/{wayidDid}/card
步骤4:显示身份卡
格式化并向用户显示身份卡:
🛡️ {displayName} @{username}
{description}
✅ 已验证 — {verification.label}
所有者:{owner.displayName} (@{owner.username})
查看证书 →
如果代理
未验证(没有验证对象),则显示:
{displayName} @{username}
{description}
⚠️ 身份尚未验证
查看证书 →