electrum-personal-server

Maximally lightweight electrum server for a single user
git clone https://git.parazyd.org/electrum-personal-server
Log | Files | Refs | README

commit 1781d69f66308f3d1fdb9c39d2915cbe1377cde6
parent a8f6f44dc34f876c568484c3c7f686aca86e7c5b
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Fri,  1 Feb 2019 19:49:16 +0000

Merge pull request #83 from suvayu/patch-1

Clarify how to add multiple keys
Diffstat:
MREADME.md | 7++++++-
Mconfig.cfg_sample | 7++++++-
2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -59,7 +59,12 @@ on [full nodes](https://en.bitcoin.it/wiki/Full_node). 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 (which start with xpub/ypub/zpub) can be found - in the Electrum client menu `Wallet` -> `Information`. + in the Electrum client menu `Wallet` -> `Information`. You can add multiple + master public keys or watch-only addresses by adding separate lines for the + different keys/addresses: + + wallet1 = xpub661MyMwAqRbcF... + wallet2 = xpub7712KLsfsg46G... * Install Electrum Personal Server in your home directory with `pip3 install --user .`. On Linux the scripts diff --git a/config.cfg_sample b/config.cfg_sample @@ -8,10 +8,12 @@ #any_name_works = xpub661MyMwAqRbcFseXCwRdRVkhVuzEiskg4QUp5XpUdNf2uGXvQmnD4zcofZ1MN6Fo8PjqQ5cemJQ39f7RTwDVVputHMFjPUn8VRp2pJQMgEF +# Multiple master public keys maybe added by simply adding another line +#my_second_wallet = xpubanotherkey + # Multisig wallets use format `required-signatures [list of master pub keys]` #multisig_wallet = 2 xpub661MyMwAqRbcFseXCwRdRVkhVuzEiskg4QUp5XpUdNf2uGXvQmnD4zcofZ1MN6Fo8PjqQ5cemJQ39f7RTwDVVputHMFjPUn8VRp2pJQMgEF xpub661MyMwAqRbcFseXCwRdRVkhVuzEiskg4QUp5XpUdNf2uGXvQmnD4zcofZ1MN6Fo8PjqQ5cemJQ39f7RTwDVVputHMFjPUn8VRp2pJQMgEF - [watch-only-addresses] ## Add addresses to this section @@ -19,6 +21,9 @@ # A space separated list is accepted #my_test_addresses = 3Hh7QujVLqz11tiQsnUE5CSL16WEHBmiyR 1PXRLo1FQoZyF1Jhnz4qbG5x8Bo3pFpybz bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq +# multiple addresses may also be added in separate lines (like master public keys above) +#addr2 = 3anotheraddress + [bitcoin-rpc] host = 127.0.0.1 port = 8332