Aim to provide a simple and easy way to run atomicals-electrumx server. Inspired by https://github.com/lukechilds/docker-electrumx.
- Bitcoin Full Node
- At least 90G left in your storage.
Add this to your bitcoin.conf, and restart your bitcoin full node.
assuming your lan ip is 192.168.50.2
txindex=1
rpcauth=electrumx:c7ed296134ebe0035d9ff786dfa102b5$9d40e8e36bcdba1e3ca0a79178c3864c3deaa9e6fd484ff683e7770690a97097
rpcbind=127.0.0.1
rpcbind=192.168.50.2
rpcallowip=127.0.0.1
rpcallowip=192.168.50.2
txindex=1
is required for ElectrumX to work. You need wait for full node to reindex.- You can also download script from https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py. And generate one by yourself.
git clone https://github.com/lucky2077/atomicals-electrumx-docker.git
cd atomicals-electrumx-docker
Create an .env
file with content below:
DAEMON_URL=electrumx:electrumx@192.168.50.2:8332
Then run the ElectrumX server:
docker-compose pull && docker-compose up -d
- use
docker-compose logs -f
to check the logs. - use
docker-compose down
to stop the server.
NOTE
- You should stop here until the server is fully synced.
- The
data
directory will be more than 90G after sync.