GoodDollar / GoodWeb3-Mono

mono repo with GoodDollar's web3 UI components and SDK
https://gooddollar-storybook.vercel.app
1 stars 1 forks source link

add hasclaimed hook #47

Closed L03TJ3 closed 1 year ago

L03TJ3 commented 1 year ago

Description

Add hook to check if connected account has any claimable UBI on a supported chain

About https://github.com/GoodDollar/GoodProtocolUI/pull/336

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

Checklist:

sirpy commented 1 year ago

@L03TJ3 is this required for the new claim flow?

L03TJ3 commented 1 year ago

@sirpy yes that was the idea. We show that a claim is available on the alternative chain. I needed something like this to check on both chains if someone has claimed already or not.

You have another suggestion?