Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable KYC verification if the user's spending is above a certain value #610

Open
AhmedHanafy725 opened this issue Jun 4, 2024 · 4 comments
Assignees
Milestone

Comments

@AhmedHanafy725
Copy link
Contributor

AhmedHanafy725 commented Jun 4, 2024

  • Should calculate the total spending using grid proxy Add endpoint to grid proxy to calculate the user's total spending tfgrid-sdk-go#1058.
  • This spending should be only for the main app wallet(the other added wallets shouldn't be included)
  • If the spending exceeds the value defined(better to add it to flagsimth), it should enable the kyc verification on the identity tab.
  • The identity verification data is stored in the kyc and pkid services
  • Try to restore the verification data from pkid or kyc service using the tfchain derived secret. But if that didn't work, we can store the verification ID in the user's metadata on tfchain to get the verification data later from the dashboard.
@AhmedHanafy725
Copy link
Contributor Author

  • The identity verification data is stored in the kyc and pkid services
  • Try to restore the verification data from pkid or kyc service using the tfchain derived secret. But if that didn't work, we can store the verification ID in the user's metadata on tfchain to get the verification data later from the dashboard.

these will be stored on the backend service instead in the users' table

@AhmedHanafy725
Copy link
Contributor Author

WIP:
Facing an issue when trying to get the twin ID from tfchain, the UI is stuck till the call is finished which leads to bad UX.

@AhmedHanafy725
Copy link
Contributor Author

WIP:
Getting another issue when trying to add grid proxy client to the app (can't build the client dart run build_runner build)

@AhmedHanafy725
Copy link
Contributor Author

AhmedHanafy725 commented Sep 11, 2024

Facing an issue when trying to get the twin ID from tfchain, the UI is stuck till the call is finished which leads to bad UX.

fixed by using isolated threads to run the expensive calls

Getting another issue when trying to add grid proxy client to the app (can't build the client dart run build_runner build)

Fixed by upgrading the packages and now works fine

The issue is done and ready for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Pending Deployment
Development

No branches or pull requests

2 participants