Learn about W3C-compliant identity resolution on NEAR.
This document details how to use the did:near method for decentralized identifiers on the NEAR blockchain, how it complies with W3C DID Core, and how it integrates with verifiable credentials (VCs), proof registries, and resolution tooling.
A Decentralized Identifier (DID) is a persistent, unique identifier that does not require a centralized registry. On NEAR, DIDs are created based on either account names or raw public keys, and they are fully compatible with the W3C DID standard.
Authors
Built in collaboration with NTT DATA Innovation Center Web3
Issuer is linked to the signer account via NEAR transaction.
DID resolution and structure is fully W3C-compliant.
cid is always a Base64-encoded SHA-256 hash of the VC content.
Key Security: Only FullAccess keys are included in the DID document’s verificationMethod array, ensuring that only keys with complete account authority are used for authentication.
Public keys are handled securely via NEAR native accounts or custom registries.
Multi-Network Support: The resolver automatically routes requests to the correct network (mainnet/testnet) based on the DID suffix.