Skip to content

Instantly share code, notes, and snippets.

@lontivero
Created January 5, 2019 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lontivero/5b359605d4e70eae49723fbb2f113ccb to your computer and use it in GitHub Desktop.
Save lontivero/5b359605d4e70eae49723fbb2f113ccb to your computer and use it in GitHub Desktop.
Count Wasabi wallet coinjoins per day
cat wasabi.json | jq '[.address.transactions[] | {"txid":.txid, time:(.time | strftime("%Y-%m-%d"))}] | group_by(.time) | map({"date": .[0].time, "count": length})'
cat wasabi.json | jq -r '[.address.transactions[] | {"txid":.txid, time:(.time | strftime("%Y-%m-%d")) } ] | group_by(.time) | map([.[0].time, length])[] | @csv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment