Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to signup as members #17

Open
bumi opened this issue Jun 18, 2017 · 3 comments
Open

Allow users to signup as members #17

bumi opened this issue Jun 18, 2017 · 3 comments

Comments

@bumi
Copy link
Contributor

bumi commented Jun 18, 2017

Currently all contributors must be managed by existing core members.
Using [Oraclize)[http://www.oraclize.it/] we could allow members to signup with their github user account.
A core member would still be in control but the member would be in control of the signup with the ETH address.

how could it work?

  • publish a gist with the chosen ETH address
  • use kredits-web interface to initiate a signup
  • contract uses oraclize to retrieve gist information (inkl. github user data) and compares the eth address to the msg.sender address.
  • if msg.sender == the address in the contract we can assume the msg.sender controls the github account

resources:

@raucao
Copy link
Member

raucao commented Jun 18, 2017

Sounds great!

One question: wouldn't we also have to verify that the user controls the private keys for that Ethereum address?

@bumi
Copy link
Contributor Author

bumi commented Jun 18, 2017

That is done because the user initiates the signup / msg.sender is the account that has sent the transaction, thus controls the account.

@raucao
Copy link
Member

raucao commented Jun 18, 2017

Ah, right. Thanks.

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

No branches or pull requests

2 participants