Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#get onion address
cat /var/lib/tor/bitcoin-service/hostname > $HOME/onionaddr
onion=$(<$HOME/onionaddr)
echo $onion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment