Claim UBI
Every verified person is eligible to claim daily free UBI in the form of G$ tokens.
Last updated
Was this helpful?
Every verified person is eligible to claim daily free UBI in the form of G$ tokens.
Last updated
Was this helpful?
Make sure user wallet is whitelisted, see .
First, create the SDK. The first argument should be an ethers Web3Provider, since the user will need to sign transactions. Second argument is which environment and chain contract set to use.
Check if the user is currently eligible to claim today:
Then, perform claim:
You can also get the next Date
when the user will be eligible to claim again
You can also use our react hooks to manage claim.
See the Claim/Identity react hooks code . Storybook examples . You will need to first setup our context provider as explained .
Share your ideas, or ask for development support. Be sure to check out the For discussion on Discord or various program events: We are also on Telegram: