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

Transfer tokens between end users (endpoint) #17

Closed
4 tasks
j-mueller opened this issue Dec 18, 2024 · 0 comments · Fixed by #32
Closed
4 tasks

Transfer tokens between end users (endpoint) #17

j-mueller opened this issue Dec 18, 2024 · 0 comments · Fixed by #32
Assignees
Labels

Comments

@j-mueller
Copy link
Collaborator

j-mueller commented Dec 18, 2024

Input: Amount of tokens to transfer, recipient address.

Changes the owner (stake credential) of the amount of programmable tokens to the recipient address. Fails if the sender does not have enough programmable tokens, or if the sender is blacklisted.

Should include the following functions:

  • Offchain endpoint similar to Wst.Offchain.Endpoints.Deployment.issueProgrammableTokenTx
  • 1 happy path test case in Wst.Test.UnitTest
  • API route in Wst.Server.Types under the "BuildTx era" type
  • API route implementation in Wst.Server similar to issueProgrammableTokenEndpoint. This needs to take the above inputs plus an address to use for the operator env (source of UTxOs for balancing)
@input-output-hk input-output-hk deleted a comment Dec 18, 2024
@j-mueller j-mueller linked a pull request Dec 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants