did:cow, a proposal for an ID resolution method with most of the convenience of did:plc/did:web and the robustness of a public blockchain
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

cows

+3 -3
+3 -3
README.md
··· 108 108 - `updateWrappedDID` / `updateWrappedDIDByHash` — change the wrapped DID 109 109 - `updateController` / `updateControllerByHash` — transfer control to a new address 110 110 111 - If the cow has not been registered on-chain yet, `updateWrappedDID` and `updateController` will register it automatically in the same transaction. 111 + If the did:cow ID has not been registered on-chain yet, `updateWrappedDID` and `updateController` will register it automatically in the same transaction. 112 112 113 113 ### 6.4 Deactivate 114 114 115 - Call `deactivate(initial_controller_address, initial_wrapped_did)` from the current controller to permanently deactivate a did:cow ID. If the cow has not been registered on-chain yet, it will be registered automatically in the same transaction. 115 + Call `deactivate(initial_controller_address, initial_wrapped_did)` from the current controller to permanently deactivate a did:cow ID. If the did:cow ID has not been registered on-chain yet, it will be registered automatically in the same transaction. 116 116 117 117 After deactivation, `resolveCow` returns an empty string and the DID cannot be reactivated. 118 118 ··· 166 166 Deployed on Sepolia testnet: [`0x8bd78c8CdCcF951169bbF964A0aCC241Be63B05f`](https://sepolia.etherscan.io/address/0x8bd78c8CdCcF951169bbF964A0aCC241Be63B05f) 167 167 168 168 **Contract functions (`CowRegistry.sol`):** 169 - - `calculateCowHash(controller, wrappedDID)` — derive the registry key for a cow 169 + - `calculateCowHash(controller, wrappedDID)` — derive the registry key for a did:cow ID 170 170 - `resolveCow(controller, wrappedDID)` — return current controller and wrapped DID without needing to pre-compute the hash 171 171 - `initializeCow(controller, wrappedDID)` — optionally pre-register before first update 172 172 - `updateWrappedDID(controller, wrappedDID, newWrappedDID)` — update wrapped DID, registering if needed