Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

v1 version of UserRegistry smart contract #45

Closed
matthewliu opened this issue Mar 19, 2018 · 6 comments
Closed

v1 version of UserRegistry smart contract #45

matthewliu opened this issue Mar 19, 2018 · 6 comments
Assignees
Labels

Comments

@matthewliu
Copy link
Member

Actual implementation of the smart contract vs. just architectural decisions (which is currently marked as done).

@tyleryasaka
Copy link
Contributor

We have a user registry smart contract in place already:

https://github.com/OriginProtocol/platform/blob/master/packages/contracts/contracts/UserRegistry.sol

@matthewliu
Copy link
Member Author

Great. Maybe I phrased this incorrectly (forgetting how simple this contract should be). Have we finished mapping out the JSON blob for the ipfsHash part of it?

@joshfraser
Copy link
Contributor

This was my initial rough draft. Still soliciting feedback on the structure.

https://gist.github.com/joshfraser/d411a9e73fe638364a46d91d9aa08838

@tyleryasaka
Copy link
Contributor

Ah ok. So yes, we do have a first draft of the user schema in place. I took Josh's example and made a few tweaks to it. This is what we have right now:

https://github.com/OriginProtocol/platform/blob/master/packages/origin.js/src/schemas/user.json

@matthewliu
Copy link
Member Author

matthewliu commented Mar 19, 2018 via email

@tyleryasaka
Copy link
Contributor

Since we now have a first version of the user registry smart contract as well as a user schema in place, I'm going to close this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants