Skip to content

Instantly share code, notes, and snippets.

@stackdump
Created January 10, 2020 11:08
Show Gist options
  • Save stackdump/0772942dc3ef2d461f4e151cefeb9e15 to your computer and use it in GitHub Desktop.
Save stackdump/0772942dc3ef2d461f4e151cefeb9e15 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
torsocks curl -X POST \
--data-binary '{"jsonrpc": "2.0", "id": 0, "method": "current-minute"}' \
-H 'content-type:text/plain;' http://mainnetp24u4y4vsuvspeotbhpnmupmpnwfjzmfzfyuvstuqs572buqd.onion/v2
@stackdump
Copy link
Author

stackdump commented Jan 10, 2020

requires https://github.com/dgoulet/torsocks

See full API Docs https://docs.factom.com/api#factomd-api for more info

NOTE: the standard factom-cli binary does NOT work w/ torsocks - working on other options
Currently it is possible to use the socks proxy of any standard http client to use tor:
Just provide this address http://mainnetp24u4y4vsuvspeotbhpnmupmpnwfjzmfzfyuvstuqs572buqd.onion/v2

@stackdump
Copy link
Author

update: redeploying mainnet service soon ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment