-
Notifications
You must be signed in to change notification settings - Fork 220
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: export transaction #6111
feat: export transaction #6111
Conversation
Test Results (CI)1 264 tests 1 264 ✅ 13m 57s ⏱️ Results for commit 0fb0e78. |
Test Results (Integration tests)29 tests 29 ✅ 12m 9s ⏱️ Results for commit 0fb0e78. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot get this to work either by entering a command
minotari_console_wallet.exe --base-path . --command "export-tx 2444085111639818228 my_test_tx.txt" --config %cd%\config\config.toml --log-config %cd%\config\log4rs_console_wallet.yml
or
minotari_console_wallet.exe --base-path . --command "export-tx --tx-id 2444085111639818228 --outfile my_test_tx.txt" --config %cd%\config\config.toml --log-config %cd%\config\log4rs_console_wallet.yml
or by passing a script
export-tx 2444085111639818228 my_test_tx.txt
or
export-tx --tx-id 2444085111639818228 --outfile my_test_tx.txt
You have to run it with:
|
Running this:
gives you this output:
And creates this file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
I tested the wrong exe, sorry about that |
Description
Exports a transaction from the wallet to a json file
Motivation and Context
This is the first step in allowing cold wallets to spend outputs while staying offline
How Has This Been Tested?
manual and unit test