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 option to export result to json file instead of stdout #4

Closed
maxidev opened this issue Jan 23, 2021 · 0 comments · Fixed by #5
Closed

Add option to export result to json file instead of stdout #4

maxidev opened this issue Jan 23, 2021 · 0 comments · Fixed by #5
Assignees

Comments

@maxidev
Copy link
Owner

maxidev commented Jan 23, 2021

For example

$ btcxp addr 17WRjamox6VhTUaHsTWfFnMNDYHvwCtWio --tojson

creates out.json
{

Address: "17WRjamox6VhTUaHsTWfFnMNDYHvwCtWio"
Address Type: "Legacy (P2PKH)"
ASM: "OP_DUP OP_HASH160 476176f30aa8daa62554af8da75d801f68a58f42 OP_EQUALVERIFY OP_CHECKSIG"
Balance: "0.5069768 BTC (~ 16236.54 USD)"

}

@afiorenza afiorenza self-assigned this Jan 23, 2021
@afiorenza afiorenza linked a pull request Jan 25, 2021 that will close this issue
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