From a0c9d7a61b5767f6ca236744ad37c90696a9ea7f Mon Sep 17 00:00:00 2001 From: Lucky Date: Wed, 27 Sep 2023 16:59:36 +0800 Subject: [PATCH] docs: update --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abdd06b..3904631 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,14 @@ Aim to provide a simple and easy way to run [atomicals-electrumx](https://github Add this to your bitcoin.conf, and restart your bitcoin full node. ``` +txindex=1 rpcauth=electrumx:c7ed296134ebe0035d9ff786dfa102b5$9d40e8e36bcdba1e3ca0a79178c3864c3deaa9e6fd484ff683e7770690a97097 ``` -You can also download script from https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py. And generate one by yourself. +- `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. + +### 2. Clone this repo and Run the server: ```bash git clone https://github.com/lucky2077/atomicals-electrumx-docker.git @@ -25,7 +29,7 @@ cd atomicals-electrumx-docker For users who set rpcauth by themselves, you should create an `.env` file: ```ini -DAEMON_URL=http://:@: +DAEMON_URL=:@: ``` Then run the ElectrumX server: