How to setup a ElectrumX-Groestlcoin (GRS) TESTNET server



  • The following were tested in Ubuntu 16.04, some dependencies can be different in other distros

      • apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
      • dd if=/dev/zero of=/swapfile bs=1M count=4096
      • mkswap /swapfile
      • swapon /swapfile
      • echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
      • sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
      • sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
      • git clone https://github.com/groestlcoin/groestlcoin
      • cd groestlcoin
      • ./autogen.sh
      • ./configure
      • make
      • strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx
      • sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx /usr/bin
      • mkdir ~/.groestlcoin
      • nano ~/.groestlcoin/groestlcoin.conf
      • write: listen=1 server=1 maxconnections=873 daemon=1 txindex=1 rpcuser=yourusernamehere rpcpassword=yourpasswordhere
      • Crtl+o enter, ctrl X
      • groestlcoind -testnet
      • Let it sync (can take up to 1 hour), verify with groestlcoin-cli -testnet getinfo
      • cd ~
      • git clone https://github.com/Groestlcoin/electrumx-grs-installer.git
      • cd electrumx-grs-installer
      • sudo -H ./install.sh (Will result in error)
      • rm /usr/local/bin/electrumx_server.py
      • sudo -H ./install.sh
      • nano /etc/electrumx-grs.conf
      • Add NET = testnet
      • change DAEMON_URL to http://yourusernamehere:[email protected]/
      • change TCP_PORT to 51001
      • change SSL_PORT to 51002
      • change REPORT_TCP_PORT to 51001
      • change host = 0.0.0.0 to server ipaddress or dnsaddress
      • change IRC_NICK=ElectrumX to something unique
      • change REPORT_HOST = 0.0.0.0 to server ipaddress or dnsaddress
      • Crtl+o enter, ctrl X
      • service electrumx-grs start
      • add your server on https://1209k.com/bitcoin-eye/ele.php?chain=tgrs

    check logs with: journalctl -u electrumx-grs -f

    By,

    jackielove4u



Looks like your connection to Cryptocentral was lost, please wait while we try to reconnect.