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

feat: add actiontoken service for token transfer #462

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paramkr2
Copy link

Description

As mentioned in the challenge, a user can generate an Action Token which any other user can use to receive the tokens attached to it within the expiry time.

Added two routes for generating action tokens and transferring tokens attached to the action token.

This commit includes integration tests for generating, transferring, and handling the edge case of expired tokens. Unit tests are still pending for the ActionTokenService.

Issue(s) addressed

What kind of change(s) does this PR introduce?

  • Enhancement
  • Bug fix
  • Refactor

Please check if the PR fulfils these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Breaking change

Does this PR introduce a breaking change?
No

Other useful information

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

Successfully merging this pull request may close these issues.

Experiment: use JWT action token to implement the feature of 'send token by email adress'
1 participant