ruimarinho / bitcoin-core

A modern Bitcoin Core REST and RPC client.
482 stars 188 forks source link

Tor support? #118

Open whiteyhat opened 4 years ago

whiteyhat commented 4 years ago

ℹ️ Information

I have exposed my json-rpc credentials through Tor to allow a more security element. Is this library allows this? And id it does, how will the client initialisation?

🗼 Examples

I have tried the following example:

  const client = new Client('user://user:password@v2kccpgxjw5lehhov6dk6sw4bvuwvsfwj3hwnq532smnhsjid.onion:1111/?label=MyNode')
whiteyhat commented 4 years ago

Any ideas @pedrobranco @ruimarinho ? 😃

Tibo-lg commented 4 years ago

I needed this as well and ended up writing a new library instead as this one doesn't look maintained anymore if anybody needs this functionality: https://www.npmjs.com/package/bitcoin-simple-rpc#usage-with-tor