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

can we add a util cmd stakercli daemon list-staker-address? #82

Open
bap2pecs opened this issue Oct 24, 2024 · 0 comments
Open

can we add a util cmd stakercli daemon list-staker-address? #82

bap2pecs opened this issue Oct 24, 2024 · 0 comments

Comments

@bap2pecs
Copy link

right now if we want to get the btc address, we need to run

stakercli daemon list-outputs

and use | jq -r '.outputs[].address' | sort | uniq to retrieve it from the output

{
    "outputs": [
        {
            "amount": "0.00972350 BTC",
            "address": "tb1qu4ak6a4dcug5638hky34nla0hrtdnjnwv6sf8e"
        },
        {
            "amount": "0.00961750 BTC",
            "address": "tb1qu4ak6a4dcug5638hky34nla0hrtdnjnwv6sf8e"
        }
    ]
}

would be convenient to add a util cmd

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

No branches or pull requests

1 participant