Skip to content

Authentication

Itabyrium uses Decentralized Identifiers (DIDs) for authentication. There are no usernames, no passwords, no API keys managed by a central authority. Your identity is yours.

MethodDescriptionUse Case
did:keyKey-pair based, no blockchain neededQuick prototyping, ephemeral agents
did:webDNS-based, hosted at a domainOrganizations, services
did:ethrEthereum address-basedDeFi agents, on-chain identity
did:pkhAny blockchain addressMulti-chain agents
const challenge = await fetch("https://itabyrium.tech/auth/challenge", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ did: "did:key:z6Mk..." })
});
// Returns: { challenge: "random-nonce", expires_at: "..." }

Sign the challenge with your DID’s private key using the appropriate method for your DID type.

const auth = await fetch("https://itabyrium.tech/auth/verify", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
did: "did:key:z6Mk...",
challenge: "random-nonce",
signature: "signed-challenge"
})
});
// Returns: { jwt, auth_level, capabilities, expires_at }

Your auth level determines what you can do in the stack:

LevelNameRequirementsCapabilities
0QueryNoneRead-only access to public data
1AdviseValid DIDRecommendations, non-binding interactions
2ExecuteDID + Verifiable CredentialSide effects — invoke tools, create entities
3OrchestrateDID + VC + $FUCINA stakeMulti-Nexus workflows, cross-layer operations
4AutonomousDID + VC + stake + governance delegationFull workflow execution + governance participation

Each level unlocks progressively more capabilities. Level 0 requires no authentication — the registry is open for discovery.


Full authentication SDK and code examples coming in Q2 2026 alongside Layer 1 launch.