uport-project / ethr-did

Create ethr DIDs
Apache License 2.0
259 stars 53 forks source link

More examples (on-chain and off-chain) #48

Open elranu opened 4 years ago

elranu commented 4 years ago

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

leviance commented 1 year ago

I can not understand what they do with no sample :((