The Bitcoin Ordinals DID method is a decentralized identifiers (DIDs) solution that leverages the Bitcoin blockchain and ordinal theory. By uniquely identifying individual satoshis, this method enables creating, resolving, updating, and deactivating DIDs without altering the Bitcoin network or requiring additional sidechains or tokens.
DIDs in this method have a specific syntax, which includes a method-specific identifier derived from the Bitcoin address and the ordinal position of a satoshi. The syntax can be represented as did:btco:.
A DID Document contains a DID's public key, authentication information, and service endpoints. The data model follows the W3C DID Core Specification, using JSON or JSON-LD as the serialization format.
- Select a unique identifier using ordinal theory to determine a specific satoshi within the Bitcoin blockchain.
- Create a public/private key pair for cryptographic operations and authentication.
- Define any necessary service endpoints for communication or interaction with the DID.
- Create a DID Document with the required properties following the DID Core Specification.
- Inscribe this document (long form json or short form text) onto the satoshi with the ordinal number mentioned in the identifier.
- Retrieve the inscription data from the satoshi associated with the method-specific identifier.
- If this utxo has been spent, look for the next DID Document by finding another inscription in the spending transaction.
Perform a Bitcoin transaction that sends the inscription to the control of a new public key (burns the current DID Document). In the same transaction, inscribe the new DID Document. The control will effectively transfer to this new DID.
Perform a Bitcoin transaction that updates the DID but does not transfer control to a new DID.
In summary, the Bitcoin Ordinals DID method provides a practical and secure solution for managing digital identities within the decentralized identity ecosystem. By leveraging the existing Bitcoin blockchain and ordinal theory, this method enables a range of innovative use cases and applications.