The QR code generation is currently implemented in the Tracking App on the Empower Platform.
The QR code is essentially an ID that links to an unclaimed deposit.
Example QR code:
Format:
claim_code=rjhf8WTP
Claiming
[x] Add a button to the Deposit tab that says "Claim Deposit Reward"
[x] Clicking the button should open a QR Code reader camera
[x] Read the QR code and parse out the claim_code into a separate variable (in the example above, it would be rjhf8WTP
[x] Send the claim_code and the users public key to the deposit backend using the deposit.Claim API
If the request fails, show the error message coming from the backend
Depends on
The QR Code
The QR code generation is currently implemented in the Tracking App on the Empower Platform. The QR code is essentially an ID that links to an unclaimed deposit.
Example QR code:
Format:
Claiming
rjhf8WTP
deposit.Claim
API