OriginProtocol / origin-playground

Playground for us to try out new ideas, specifically around Identity (ERC 725) & the Origin Marketplace
https://playground.originprotocol.com
MIT License
159 stars 72 forks source link

Identity contract constructor takes claims, but claim signature requires address of the identity #12

Closed aborovac closed 6 years ago

aborovac commented 6 years ago

The way I read the code:

Am I misunderstanding something?

nick commented 6 years ago

It's possible to predict the address of a contract that hasn't been created yet... the code we use to do so is here. Also see here.

This lets us 'pre-sign' claims and add them at identity creation time with a single blockchain transaction.