Aim to provide a simple and easy way to run atomicals-electrumx-proxy server with atomicals-electrumx service.
- Bitcoin Full Node with
txindex=1
and enable rpc. - Docker with docker-compose.
1. Download docker-compose.yml to a folder.
The folder's Disk should have at least 100G left.
Create an .env
file with content below (change to your own settings):
DAEMON_URL=rpcuser:rpcpassword@192.168.50.111:8332
- Run the server:
docker-compose pull && docker-compose up -d
- the electrumx indexes stored in
./electrumx-data
directory. - use
docker-compose ps
to check if electrumx is ready. - use
docker-compose logs -f
to check the logs. - use
docker-compose down
to stop the server.
- Used in atomicals-js
Edit .env with ELECTRUMX_PROXY_BASE_URL=http://localhost:8080/proxy
, then use all commands as usual.
If you run atomicals cli in anthoer host, change localhost
to the ip
of the proxy
server.