EntEthAlliance / EEA-Trusted-Reward-Token

Apache License 2.0
15 stars 6 forks source link

ERC1056, investigate and implement #9

Closed toninorair closed 5 years ago

toninorair commented 5 years ago

This project can be used for that https://github.com/uport-project/ethr-did-registry. I added it to deployment scripts.

MDionSijan commented 5 years ago

ERC1056 is just implemented as a standalone contract, open to the network. The address is "known and public" so anyone can use it. If we want to verify an address's owner on the contract, we call function identityOwner(address identity) and it returns returns(address) where the returned address is either itself (in the case that it owns itself), or it returns the actual owner of the address (multi-sig, other Eth Address).

Since we now have an owner to an address, we verify the owner's address on claims/whitelisting/signatures/etc.