dappconnect-vote-poll-sdk/packages/polling-hooks
Szymon Szlachtowicz 861feccd67
Update readme (#93)
2021-09-24 00:08:32 +02:00
..
src Refactor polling hooks (#92) 2021-09-23 14:23:38 +02:00
test Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
.eslintrc.json Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
.mocharc.json Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
README.md Update readme (#93) 2021-09-24 00:08:32 +02:00
package.json Make core dependent on chainId (#50) 2021-09-03 14:41:29 +02:00
prettier.config.js Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
tsconfig.json Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00

README.md

Package contains react hooks that help with memoizing values

hooks

-usePollList(wakuPolling: WakuPolling | undefined) returns array of DetailedTimedPoll of polls on waku network

-useWakuPolling(appName: string, tokenAddress: string, provider: Web3Provider | undefined, multicallAddress: string | undefined) returns meoized WakuPolling object