Skip to content

Instantly share code, notes, and snippets.

@lontivero
Forked from hungryduck/onion_bitcoin
Created April 17, 2019 18:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lontivero/199648e6b8cd30e9ecd4d4f9ecd30f4e to your computer and use it in GitHub Desktop.
Save lontivero/199648e6b8cd30e9ecd4d4f9ecd30f4e to your computer and use it in GitHub Desktop.
List active .onion bitcoin nodes (Bash)
#!/bin/bash
# Command to get a list of active bitcoin .onion addresses from bitnodes.21.co
curl -s https://bitnodes.21.co/api/v1/snapshots/latest/ | egrep -o '[a-z0-9]{16}\.onion:?[0-9]*' | sort -ru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment