Okay so, I’m having trouble attempting TOR hidden service transfer, I have 2 computers, one is listening grin-wallet -e listen and when I run on my other computer grin-wallet send --dest <slatepack addr> <amt> I get Unable to send transaction via TOR. Attempting alternate methods. What might I be doing wrong?
This also brings me to my other question: what is the proper way of installing tor (just the executable)
I think I have tor working at least on my listening machine, because grin-wallet says: Starting TOR Hidden Service for API listener at address...
By the way, (correct me if I’m wrong) it seems like sending via any kind of HTTP even tor is being deprecated? In which case I will just focus on slatepacks
He probably meant too old for Tor. Grin wallet uses onionv3 addresses, and unless you build Tor yourself, you won’t have a version up-to-date enough to support these type of addresses, unfortunately (I’ve had the same annoying problem).
Regarding your other question, yes http is being deprecated. Tor is definitely not.
Okay thanks. I might be doing something wrong then? My understanding is you send via tor just like http like grin-wallet send --dest 'http://address.onion' <amt>
no, your OS is deprecated and too old. It is not supported anymore and the tor build in the repositories is out of date. Your OS is so deprecated, that the backport repositories from the some 4 versions of debian since then are also unable to install tor as one of the dependencies doesnt exist for your deprecated OS. You can upgrade your OS or build tor locally.
Your Slatepack address is in fact an ed25519 public key, bech32 encoded.
It serves a double purpose:
A Tor address can be derived from it bech32 -> ed25519 -> onionv3.
A x25519 encryption key can be derived from it, used to encrypt (automatically) the slatepack messages only for the sender and receiver to see. bech32 -> ed25519 -> x25519.
By the way, for wallet references see this guide (updated to v4.0.0).
I’m having trouble with sending via TOR. I have compiled Tor 0.4.3.6 and installed on both systems. I set listening address in grin-wallet.toml to 0.0.0.0, after running grin-wallet listen it says (replaced addresses with dots):
20200826 18:47:26.724 WARN grin_wallet_controller::controller - Starting TOR Hidden Service for API listener at address ..., binding to 0.0.0.0:3415
20200826 18:47:28.856 WARN grin_wallet_controller::controller - Starting HTTP Foreign listener API server at 0.0.0.0:3415.
20200826 18:47:28.856 WARN grin_wallet_controller::controller - HTTP Foreign listener started.
20200826 18:47:28.856 WARN grin_wallet_controller::controller - Slatepack Address is: ...
And (on my other machine) when I do grin-wallet send -d <slatepack-addr> <amt>
It says:
20200826 13:47:47.626 WARN grin_wallet_api::owner - Attempting to send transaction via TOR
20200826 13:48:11.045 WARN grin_wallet_api::owner - Unable to send transaction via TOR. Attempting alternate methods.
Is there a guide on how to do a TOR transaction? Haven’t had any luck so far.
I had to set ip 0.0.0.0 on http listener, but leave the tor configuration the same… which I thought I had before so I’m not entirely sure why it wasn’t working before…