electrumx icon indicating copy to clipboard operation
electrumx copied to clipboard

Support Bitcoin Core cookie file

Open lukechilds opened this issue 6 years ago • 2 comments

Currently to authenticate we need to do:

DAEMON_URL=http://username:password@hostname:port

It would be great if the credentials were optional and we could instead specify the Bitcoin Core cooke path:

DAEMON_URL=http://hostname:port
DAEMON_COOKIE_FILE=$HOME/.bitcoin/.cookie

lukechilds avatar Dec 05 '19 14:12 lukechilds

I would like to take on this one.

n1rna avatar Mar 23 '20 21:03 n1rna

As workaround you can do that:

DAEMON_URL="http://$(cat "$HOME/.bitcoin/.cookie")@hostname:port"

if you use bash

drizzt avatar May 29 '20 22:05 drizzt