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

Custom DAO React Hooks #140

Open
1 of 3 tasks
ivelin opened this issue Sep 20, 2022 · 4 comments · Fixed by #141
Open
1 of 3 tasks

Custom DAO React Hooks #140

ivelin opened this issue Sep 20, 2022 · 4 comments · Fixed by #141
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed UI User Interface related issue

Comments

@ivelin
Copy link
Contributor

ivelin commented Sep 20, 2022

Initial set of React hooks to make it easier to build UI features in Sporos DAO, Kali DAO and other apps based on Kali OS smart contracts:

Repo here:
https://github.com/kalidao/hooks

Initial set of hooks:

  • useChainGuard to protect users from voting on the wrong chain.
  • useDaoContext to simplify pulling basic information about a DAO
  • useEtherscanLink to generate a URL to the appropriate blockchain explorer where a DAO transaction took place.
@EdgeCaser
Copy link

5+ points

@ivelin
Copy link
Contributor Author

ivelin commented Sep 20, 2022

5+ points

I think 1-2 weeks is about right. Is that 5 or 10 points?

@EdgeCaser
Copy link

EdgeCaser commented Sep 20, 2022 via email

@ivelin ivelin self-assigned this Sep 20, 2022
@ivelin
Copy link
Contributor Author

ivelin commented Sep 21, 2022

useChainGuard implemented , published as npm and submitted to Kali team for review.
kalidao/hooks#5

It is also now adopted in the Sporos DAO UI: #141

@ivelin ivelin linked a pull request Sep 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed UI User Interface related issue
Projects
Development

Successfully merging a pull request may close this issue.

2 participants