Initialize a new Identity with:
keys_root from control + recovery keys.attributes_root from any initial attributes.policies_root from any initial policies.identity_commitment_0 = H(
version,
keys_root_0,
attributes_root_0,
policies_root_0
)
Persist identity
Identity object with state = active.Emit StateTransition
StateTransition {
previous_commitment = null
new_commitment = identity_commitment_0
diff = "identity_created"
signed_by = control_key
timestamp
}