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

Open
4 tasks
j-mueller opened this issue Dec 18, 2024 · 0 comments
Open
4 tasks

Transfer tokens between end users (endpoint) #17

j-mueller opened this issue Dec 18, 2024 · 0 comments
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants