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

Check if user has registered with our smart contract #6

Open
jhilden opened this issue Sep 27, 2017 · 0 comments
Open

Check if user has registered with our smart contract #6

jhilden opened this issue Sep 27, 2017 · 0 comments
Assignees

Comments

@jhilden
Copy link

jhilden commented Sep 27, 2017

data structure in contact (of solidity type "mapping"):

registeredTwitterMembers: {
   '<twitter user_id>': '<ETH-wallet-address>'
}

We could also provide a method on top of the data structure, like:
contract.isRegistered(twitterUserId)

@jhilden jhilden self-assigned this Sep 27, 2017
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

1 participant