citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

btc-coins (278B)


      1 #!/usr/bin/env bash
      2 
      3 WALLETS=${WALLETS:-$(bcli listwallets | jq -r '.[]' | paste -sd" " )}
      4 
      5 (for wallet in $WALLETS
      6 do
      7   bcli -rpcwallet="$wallet" "$@" listaddressgroupings \
      8       | jq -r -c ".[][] | select(.[1] != 0) | [\"$wallet\"] + . | @tsv"
      9 done) \
     10   | column -t -s $'\t'