lncm / docker-bitcoind

Flexible multi-arch (amd & amd64) Bitcoin Core Docker image
https://hub.docker.com/r/lncm/bitcoind
MIT License
101 stars 34 forks source link

How to connect to RPC interface? #46

Closed loganmarchione closed 3 years ago

loganmarchione commented 3 years ago

I'm trying to write a bash script to connect to the RPC interface via curl. I have port 8332 open, but I don't see any documentation for how to setup a RPC user/password. Am I missing something?

Also, I don't see a bitcoin.conf file anywhere either. I was just going to bind-mount one manually. Is this the suggested way?

nolim1t commented 3 years ago

Hi,

Please refer to this project which has a lot of config samples.

Please not that configuration is controlled through this script also.

Hopefully the above helps you?

loganmarchione commented 3 years ago

So does that mean I can't use RPC in lncm/docker-bitcoind?

nolim1t commented 3 years ago

you can use whatever bitcoind has allowed.

loganmarchione commented 3 years ago

Got it, thanks!