SporosDAO/sweat-token

Custom DAO React Hooks

Aperta

#140 aperta il 20 set 2022

 (4 commenti) (0 reazioni) (1 assegnatario)TypeScript (11 fork)auto 404
UIenhancementgood first issuehelp wanted

Metriche repository

Star
 (18 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor