hundredlee / atomicals-electrumx-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atomicals ElectrumX Docker

This repo only used to build ElectrumX image. You can read this as reference, but deploy Atomicals RPC endpoint using this repo https://github.com/Next-DAO/atomicals-electrumx-proxy-docker

本项目仅用来构建 ElectrumX 镜像,可以作为参考,但是部署 Atomicals RPC 节点请使用这个项目 https://github.com/Next-DAO/atomicals-electrumx-proxy-docker


Aim to provide a simple and easy way to run atomicals-electrumx server.

Dockerfile is based on Dockerfile from Official Repository

Requirements

  1. Bitcoin Full Node
  2. At least 100G left in your storage.

Usage

1. Update your Bitcoin Full Node RPC settings, SKIP if you already set.

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=0.0.0.0
rpcallowip=127.0.0.1
rpcallowip=172.0.0.0/8
rpcallowip=192.168.50.2

2. Clone this repo and Run the server:

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.

About

License:MIT License


Languages

Language:Dockerfile 72.7%Language:Shell 27.3%