Electrum client running as a daemon in docker container with JSON-RPC enabled.
Electrum client is light bitcoin wallet software operates through supernodes (Electrum server instances actually).
Don't confuse with Electrum server that use bitcoind and full blockchain data.
7000- JSON-RPC port.
/data- user data folder (on host it usually has a path/home/user/.electrum).
docker-compose.yml to see minimal working setup. When running in production, you can use this as a guide.
git clone https://github.com/slashfast/docker-electrum.git
cd docker-electrum
docker-compose up
docker-compose exec electrum electrum daemon status
docker-compose exec electrum electrum create
docker-compose exec electrum electrum daemon load_wallet
curl --data-binary '{"id":"1","method":"listaddresses"}' http://YOUR_USERNAME:YOUR_PASSWORD@localhost:7000❗Warning❗
Always link electrum daemon to containers or bind to localhost directly and not expose 7000 port for security reasons.
See LICENSE