Licence: MIT Language: Python (>= 3.8) Original Author: Neil Booth
This project is a fork of kyuupichan/electrumx. The original author dropped support for Bitcoin, which we intend to keep.
ElectrumX allows users to run their own Electrum server. It connects to your full node and indexes the blockchain, allowing efficient querying of the history of arbitrary addresses. The server can be exposed publicly, and joined to the public network of servers via peer discovery. As of May 2020, a significant chunk of the public Electrum server network runs ElectrumX.
See readthedocs.
docker build --tag FactWalletServer .
docker run -v <FactWalletServer Repo Parent Directory>:/home/electrumx/electrumx --network host FactWalletServer &
To run the FACT0RN Wallet Server you will need to modify a couple of things in docker/Dockerfile:
- Line [32](https://github.com/FACT0RN/FactWalletServer/blob/master/docker/Dockerfile#L32): edit to write your fact0rn daemon's username and password.
- The keys and certificates in the
docker/certs
path need to be unique to your server for security reasons. Create new ones and replace the ones there. - Only after doing steps 1 and 2, we now build the docker container from the docker folder.
- Run the container as specified on the Docker section above. You may want to add
--ulimit nofile=18000:200000
to that docker command. Not needed, but if you have enough connections it might help.
Note: Set your username and password for the factornd daemon in the configuration file in ~/.factorn/factorn.conf
. For example, the first three lines should read:
rpcuser=<UsernameHere>
rpcpassword=<PasswordHere>
txindex=1
Plus any other options you set. These three will be enough to run the wallet server.
To check if your wallet server is running, you can execute bash in interactive mode inside the container and look at the tail of the text file ~/logs/current
for the latest logs of the server.