SporosDAO/sweat-token

Custom DAO React Hooks

Open

#140 opened on Sep 20, 2022

 (4 comments) (0 reactions) (1 assignee)TypeScript (11 forks)auto 404
UIenhancementgood first issuehelp wanted

Repository metrics

Stars
 (18 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide