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

Encode a type in the owner for enhancement drivers #39

Closed
yacovm opened this issue Jun 29, 2021 · 0 comments · Fixed by #31
Closed

Encode a type in the owner for enhancement drivers #39

yacovm opened this issue Jun 29, 2021 · 0 comments · Fixed by #31

Comments

@yacovm
Copy link
Contributor

yacovm commented Jun 29, 2021

In case some user would want to implement an enhanced driver which gives additional capabilities to tokens of existing drivers, where only some tokens can be used for the enhanced capabilities, then the system might reach a state where two or more encoding schemes coexist: (a) The fabtoken token encoding and (b) The encoding for the enhanced token.

In such a setting, we need a way to distinguish between the two encoding schemes.

Therefore it may make sense to encode a Type in some field (such as the owner) to mark that the token needs to be parsed in one scheme and not in another.

adecaro added a commit that referenced this issue Jun 29, 2021
@adecaro adecaro linked a pull request Jun 29, 2021 that will close this issue
@adecaro adecaro closed this as completed Jun 29, 2021
mbwhite pushed a commit to mbwhite/fabric-token-sdk that referenced this issue Oct 19, 2022
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 a pull request may close this issue.

2 participants