forked from spesmilo/electrum
-
Notifications
You must be signed in to change notification settings - Fork 64
ElectrumX Server Setup
Chris Sulmone edited this page Feb 23, 2018
·
6 revisions
We have forked ElectrumX in order to make changes that specifically support Zclassic and later shielded transactions.
In order to run the server, you need RPC access to a Zclassic full node on the same machine.
You should set up a custom domain with an SSL cert for each server.
- Acquire a linux machine
- Download a conf file here and put it here ~/.zclassic/zclassic.conf (create the .zclassic folder if not present)
- Open the zclassic.conf file and replace rpcuser value with zcl and rpcpassword value with a secure randomly generated value
- After the rpcport line add 'txindex=1' as a new line
- Clone Zclassic from github
- Build Zclassic from instructions
- Run 'nohup ./src/zcashd -daemon'
- Download electrumx-zcl
- Create a dir at ~/zcl_electrum_db
- Change directory to electrumx
- Install electrumx dependencies
- Increase file descriptor limit [here)(https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptors)
- Run electrumx
COIN=Zclassic DB_DIRECTORY=/home/<user>/zcl_electrum_db DAEMON_URL=http://<zcl rpc user>:<rpc password in zclassic.conf file>@127.0.0.1:8232 HOST=0.0.0.0 SSL_PORT=50002 PEER_DISCOVERY=Off SSL_CERTFILE=<path to>/fullchain.pem SSL_KEYFILE=<path to>/privkey.pem BANDWIDTH_LIMIT=10000000 DONATION_ADDRESS=t1gsePJZ6ojJYygj3PWMGJfojPUoMd5AVfU MAX_SESSIONS=5000 nohup ./electrumx_server.py &
Participation in the Zclassic project and its communication channels is subject to a Code of Conduct.