Hi,
to understand better how to validate a DID on-chain and off-chain. It will be great to have full examples.
Examples (recomendation):
1- how to create a DID on-chain and then execute a method in other smartcontract, which validates the identity with registry somehow.
1.a - Change the owner of the DID, and execute again the method on the smartcontract and be authethicated as the same DID.
1.b- Add a delegate, to work with that same contract. Execute a method on the smartcintract as the delegate and validate the delegate on the smartcontract and consider it as the same DID.
2- Same example as point 1 but with a off-chain validation.
Hi, to understand better how to validate a DID on-chain and off-chain. It will be great to have full examples. Examples (recomendation): 1- how to create a DID on-chain and then execute a method in other smartcontract, which validates the identity with registry somehow. 1.a - Change the owner of the DID, and execute again the method on the smartcontract and be authethicated as the same DID. 1.b- Add a delegate, to work with that same contract. Execute a method on the smartcintract as the delegate and validate the delegate on the smartcontract and consider it as the same DID. 2- Same example as point 1 but with a off-chain validation.
Regards, Mariano