Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Bitcoin Core cookie file #932

Open
lukechilds opened this issue Dec 5, 2019 · 2 comments
Open

Support Bitcoin Core cookie file #932

lukechilds opened this issue Dec 5, 2019 · 2 comments

Comments

@lukechilds
Copy link
Contributor

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 lukechilds changed the title Support Bitcoin core cookie file Support Bitcoin Core cookie file Dec 5, 2019
@n1rna
Copy link
Contributor

n1rna commented Mar 23, 2020

I would like to take on this one.

@drizzt
Copy link

drizzt commented May 29, 2020

As workaround you can do that:

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

if you use bash

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

No branches or pull requests

4 participants