Skip to content

Creating an identifier for a user through the IdentityManager Contract

Assumptions:

  • In order to show how to interact with the IdentityManager contract assume an already deployed instance of that and lets call it AcmeIdentityManager. Now through this contract many users can deploy their DIDs (profiles).

  • Let's say John have a device (JohnDeviceA). He wants to create a new profile and register a device key in order to use it to execute actions related to his new profile. Let's see what is the flow to do that.

  • At the end John has created a Proxy contract (JhonProxy). ProxyA represents John's profile identifier. So from now, all actions performed by John through that device (JohnDeviceA) will be executed through JohnProxy.
  • Note how the identity manager facilitates this process by setting up all what is needed an simply returning the proxy contract address to John.
  • When setting the first device (JohnDeviceA) it has all the capabilities.
  • Now John can access its JhonProxy identity through AcmeIdentityManager.