ERC-8498 SBT namespace state transitions (Namespaced State Transitions for SBTs)

Draft · NFTs & multi-token · created 2026-11-13

A common interface for Soulbound Tokens (SBTs) that holds several independently managed regions (namespaces), verifying and recording that each region's state changed according to a defined policy and evidence.

Why it is needed

Credentials, affiliations, contributions, and experience keep changing over time. Holders participate in governance, trade assets, contribute to communities, or receive off-chain certification. Existing SBT standards support non-transferability (locking) or attribute changes on their own, but there was no common way to determine what changed, under what rules it changed, whether the prior state was correctly carried forward, or whether this state can actually be relied on now. As a result, interpretation varied across apps, and it was easy to confuse accumulated historical records with current validity. For example, when a credential expires the past record should remain, a correction should preserve the original claim, and suspending one region should not affect an unrelated region, but no standard explicitly enforced these distinctions.

What to implement

In depth

Namespace and StateHead

A namespace is a nonzero bytes32 value registered within a contract, and the unit identifying state is the tuple (chainId, credentialContract, tokenId, namespace). The same namespace value does not carry the same meaning across different contracts. Each namespace's StateHead consists of five fields: revision, stateRoot, policyId, status (Uninitialized/Active/Suspended/Revoked), and validUntil. Before initialization all fields are 0 or Uninitialized, and after initialization revision cannot move backward or return to Uninitialized. The actual content of stateRoot is not defined by this interface and is instead defined by the policy (profile).

Policy and live controls

policyOf returns both the immutable PolicyDefinition (schemaId, rulesHash, verifier, verifierConfigHash, authorizationHash, specificationURI) and the mutable PolicyStatus (epoch, updatesEnabled, usesEnabled). A policy definition does not change after registration, and a different definition must use a different policyId. epoch starts at 1 and increments by exactly 1 whenever either updatesEnabled or usesEnabled changes, never moving backward. updatesEnabled independently controls whether new transitions can be submitted, while usesEnabled independently controls whether the current credential can be recognized as valid.

Canonical encoding and transition identifiers

All hashes use Keccak-256, and unless stated otherwise, Solidity abi.encode is used. The canonical hash of StateHead is keccak256(abi.encode(h)), and the hash of the head before initialization is not bytes32(0) but the hash of 160 bytes of zeros (0xdfded4...). policyId is the hash of the abi.encode of the namespace and the definition fields, and for every transition operationsCommitment == keccak256(evidence) must match exactly. The unique identifier of a transition (transitionId) is computed as an EIP-712 digest, with the domain fixed as name:EvolvingSBT, version:1, chainId, verifyingContract. authorization is excluded from this digest computation.

Acceptance conditions for applyTransition

For a transition to be accepted, all of the following must hold: the token and namespace must exist; expectedRevision and expectedStateHash must match the current head; deadline must be nonzero and no later than the current time; operationsCommitment must match the submitted evidence; the target policy's epoch must equal targetPolicyEpoch and updatesEnabled must be true; before initialization sourcePolicyEpoch must be 0, and otherwise it must satisfy the current policy's epoch and updatesEnabled conditions; the transition must be allowed by the lifecycle table; the evidence and authorization must satisfy the policy's requirements; and the next revision must not exceed the uint64 range. If any one of these fails, the entire transition is reverted, with no partial application.

State lifecycle

From Uninitialized, the only possible transition is to Active; from Active, transitions to Active (renewal), Suspended, or Revoked are possible; from Suspended, transitions to Suspended, Active (resumption), or Revoked are possible. Revoked is a terminal state for the given token and namespace, and every subsequent transition is rejected. Initialization requires the holder's separate consent in addition to the authorization the policy demands, and merely owning the token does not automatically grant issuer or controller authority. Even if corrections are allowed while suspended, that alone does not imply authority to resume the namespace.

Optional policy migration

An implementation may reject every policyId change on an initialized head outright. To support migration, both the source and target policies must explicitly permit it, the migration authorization and state transition rules of both policies must be satisfied, the migration must be bound to the current epoch on both sides, and revision continuity must be maintained. It cannot bypass suspension authority, a finalized revocation, or the history preservation guarantees of the source profile.

Growth profiles and capacity exhaustion

The accumulation of transitions by itself does not guarantee an append-only history, the truth of external facts, or the absence of duplicate experiences. A profile that claims to be append-only must define a commitment relationship that preserves previously accepted entries, and corrections or revocations must be expressed in a way that does not silently erase existing entries. A capacity-limited profile must specify how additions, corrections, and invalidation behave once capacity is exhausted, and capacity exhaustion must not by itself block every protective path (invalidating an individual claim, suspending or revoking the namespace, or discontinuing use of the policy). The reference implementation's signature-based growth profile holds up to 32 records per token and namespace; once 32 is reached, both additions and corrections fail, and afterward only suspension, revocation, or discontinuing use of the policy remain possible.

A proposal still at the Draft stage

This proposal is in Draft status, created on November 13, 2026, and is still undergoing community discussion and revision. Details such as interface selectors, EIP-712 typehashes, and acceptance conditions may change or be discontinued before final confirmation.

Things to watch out for

Original ERC · ← ERCs