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

feat: add to/from json string for unblinded utxo in wallet ffi #5098

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Adds a conversion to create a json string from an unblinded utxo as well as from json string to unblinded utxo.

Motivation and Context

The wallet ffi needs some way to get all the values inside of the unblinded utxo, this add a to_json and from_json methods to be able to create a json with all the values that should be easy to print out to a file. This same json string can be read into on to create an unblinded output.

How Has This Been Tested?

unit tests

@stringhandler stringhandler merged commit af25b63 into tari-project:development Jan 12, 2023
@SWvheerden SWvheerden deleted the sw_add_json_to_utxo branch February 3, 2023 07:47
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 this pull request may close these issues.

2 participants