-
Notifications
You must be signed in to change notification settings - Fork 76
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
Allow the Issuer to Record Token States #207
Comments
Is this ever going to be addressed? |
I had this same issue lately :(
Then, to get the balance, you should query |
Is this the right way for parties to keep tabs on tokens they have issued though? Seems like additional room for a junior/careless dev to mess up in some way or other with e.g. token selection. Never saw a need for someting like this tbh, always used separate, custom states to support processes resulting in issuance/transfer/redemption, easier to work with in most cases. Curious about what requirements might have a real need for this. |
Agreed, it is hacky :D |
E.g. an |
Wouldn't that be redoing a part of what the tokens SDK is doing ? Since they already handle parts of keeping the issuance stored and others... |
Custom transaction items support the functional scope. A purchase order provides more context that a couple of balance updates. This is one of the reasons the SDK is layered in flows, inline flows and TX item adding functions - it's about what some definition of "atomic" TX is supposed to include. |
Sorry for the late reply. |
It appears to be impossible to record a
FungibleToken
inside the issuers vault during issuance or redemption.This appears to be due to the role selection mechanism in
ObserverAwareFinalityFlow
.That means that, even if I pass the issuer as observer on issuance, no state will be recorded in their vault:
Similarly, on redemption:
The text was updated successfully, but these errors were encountered: