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

Add receiving user argument to "mint programmable tokens" endpoint #16

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

Comments

@j-mueller
Copy link
Collaborator

j-mueller commented Dec 18, 2024

issueProgrammableTokenTx currently sends the new tokens to an output with no stake credential. We should send them directly to the end user.

  • Add a PaymentCredential argument to BuildTx.issueProgrammableToken
  • Use the payment credential as the stake credential of the programmable logic output that's constructed in l. 111 (Adjusting the receivingAddress value)
  • Propagate the PaymentCredential argument to Wst.Offchain.Endpoints.Deployment.issueProgrammableTokenTx and Wst.Server.Types.IssueProgrammableTokenArgs
  • Change Wst.Test.UnitTest.issueAlwaysSucceedsValidator to check that the programmable logic output has the correct stake credential
@j-mueller j-mueller changed the title Mint stablecoins endpoint Add receiving user argument to "mint programmable tokens" endpoint Dec 23, 2024
@j-mueller j-mueller self-assigned this Dec 23, 2024
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

1 participant