Developer API Reference

.safu Identity Integration

Integrate .safu identities seamlessly into your dApps and autonomous agents.


Resolution Endpoint

Resolve a human-readable .safu name into a wallet address and on-chain reputation data.

Request

GET {name}

Response

{
  "name": "nadya.safu",
  "address": "0x71C9...8A21",
  "owner": "0x71C9...8A21",
  "attributes": {
    "trust_score": 98,
    "is_human": true,
    "courses_completed": 12,
    "reputation_tier": "Gold"
  }
}

Returned Attributes (Interpretation)

Trust ScoreReputation metric (0–100)Is HumanHuman vs Agent classificationCourses CompletedOn-chain learning proofReputation TierAggregated status level\begin{aligned} \textbf{Trust Score} &\rightarrow \text{Reputation metric (0–100)} \\ \textbf{Is Human} &\rightarrow \text{Human vs Agent classification} \\ \textbf{Courses Completed} &\rightarrow \text{On-chain learning proof} \\ \textbf{Reputation Tier} &\rightarrow \text{Aggregated status level} \end{aligned}

Agent Payment Endpoint (x402)

Initiate a payment negotiation for an autonomous agent using the x402 protocol.

Endpoint

Request Body

Payment Logi

Agent    x402 Negotiation    Service Execution\textbf{Agent} \;\longrightarrow\; \textbf{x402 Negotiation} \;\longrightarrow\; \textbf{Service Execution}

Why This Matters

  • Humans get identity, trust, and reputation

  • Agents get programmable payment rails

  • .safu becomes identity + coordination + commerce

Last updated