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 Patient and practitioner offboarding through CHW #107

Open
chrismaree opened this issue Nov 18, 2019 · 0 comments
Open

Enable Patient and practitioner offboarding through CHW #107

chrismaree opened this issue Nov 18, 2019 · 0 comments

Comments

@chrismaree
Copy link
Member

This issue enables this user story:
3.11 As a CHW I want to be able to exchange tokens for Fiat to off ramp patients Dapp

This should enable the CHW to receive tokens and show the CHW how much cash to pay out based off tokens received.

  • To do this Add a button the the CHW dashboard that says "Offboard tokens".
  • This opens a model that can be scanned by a patient or a practitioner.
  • They scan this from the "send tokens" modal
  • The patient/practitioner then selects how many tokens to send and sends them to the CHW.
  • The CHW's browser will monitor their wallet waiting for a tx to come in.
  • As soon as a tx is received by the CHW change the modal to show the CHW how much cash to give the patient/practitioner
  • This is calculated as the Zar equivalent of the USD in Sai.
  • Get the current Zar exchange rate from the json store in the redux to compute conversion rate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant