Skip to content

Electrum Personal Server (EPS) Setup

Dan Janosik edited this page Sep 5, 2020 · 1 revision

Setup and run Electrum Personal Server (EPS)

This software provides a blockchain-data API to the Electrum wallet (hereafter "Electrum") software that we'll install later. By default Electrum will connect to any number of public "Electrum Servers" which feed Electrum data but can, in doing so, spy on you and your data. EPS provides a compatible API that will only manage and serve your data.

  1. Install source

    sudo apt install -y python3 python3-pip
    sudo pip3 install setuptools
    
    git clone git@github.com:chris-belcher/electrum-personal-server.git
    cd electrum-personal-server
    cp config.ini_sample config.ini
    
  2. Add your wallet master public keys or watch-only addresses to the [master-public-keys] and [watch-only-addresses] sections. Master public keys for an Electrum wallet can be found in the Electrum client menu Wallet -> Information. Multisig (M-of-N) wallets should be entered in the form M xpub1... xpub2... ... xpubN....

    wallet1 = xpub...
    wallet2 = xpub...
    wallet3 = 2 xpub1... xpub2...
    
  3. Install (wheel prerequisite package installed first):

    pip3 install wheel
    pip3 install --user .
    
  4. Run

    nohup electrum-personal-server /path/to/electrum-personal-server/config.ini > eps.log &