mirror of
https://github.com/status-im/wakuconnect-vote-poll-sdk.git
synced 2025-02-24 16:18:48 +00:00
Trying to have one version of ethers across the board to avoid type conflicts. As ethers 5.5 and 5.4 are not compatible.
Package contains react hooks that help with memorizing 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