Deployed frontend: https://app.nearcashback.com/claim
Simple frontend application with 1 page /claim that allows you to claim your cashback that you received on the receipt in QR-code way. Here user don't need to login because we create functional key for our contract to get claim the money. So the flow:
- You have the link(QR-code) from receipt with private-key to claim money
- We do view call on our smart-contract to get functional-key to use without login user
- And grab amount of the cashback from SC
- Then user click "Claim" button, receive, we lock the money and create the link via linkdrop
- User redirects on linkdrop where create/login and grab cashback
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Thanks for watchin, subscribes on us: https://twitter.com/nearuaguild https://t.me/nearprotocolua https://t.me/nearprotocoluachannel