Self-hosted app·Block explorers and indexers
Self-hosting ElectrumX in Switzerland sizing, setup and cost.
ElectrumX VPS or dedicated? ElectrumX 2.0 plus Bitcoin Core needs about 1.14 TB. Run it on a Rigi in the Swiss Alps with 3 TB NVMe.
- Bitcoin
- Python
ALP1·Swiss Alps
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 6 cores, 12 threads AMD EPYC 4244P
- 1 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes, you can run ElectrumX with us, and for most people we recommend a Rigi dedicated server rather than an ElectrumX VPS. Disk is the figure that decides everything. ElectrumX 2.0 requires Bitcoin Core 31 or newer with two transaction indexes, and the developers' own measurements put the combined footprint at about 1,060 GiB around block 950,000. That is more than the 1 TB NVMe a Rigi ships with, so order it with the +2 TB NVMe option: $74.99 a month for 3 TB of NVMe Gen4, 32 GB of DDR5 ECC and an unmetered 10 Gbps port under fair use, in ALP1 in the Swiss Alps. Deploy a Rigi with Debian 13 and add the extra drive to the order.
02/07
What ElectrumX is and who maintains it.
ElectrumX is a server for the Electrum protocol, which Electrum, Sparrow and many other light wallets use to ask what has happened to a given set of addresses. It sits between a full Bitcoin Core node and the wallets: it reads every block, builds an index keyed by script, and answers balance and history requests so the wallet never has to download the chain. Neil Booth wrote the original. When he dropped Bitcoin support, the Electrum developers forked it under spesmilo, and they still maintain it; it is published on PyPI as e-x. The current release is 2.0.0, dated 3 July 2026, and it brought a new database schema, Electrum protocol 1.7 and experimental support for free-threaded Python.
People run their own for one reason. A wallet syncing against a public Electrum server hands that server every address it controls, in one session, from one IP address, which is enough for the operator to group them as a single wallet. Sparrow's own quick-start guide warns that a public server means sharing your public key information with whoever runs it. Pointing your wallet at an ElectrumX instance you operate moves that knowledge from a stranger's server to yours. It does not make on-chain history private, and it cannot undo links you created by spending coins together, but it closes the largest leak a light wallet has.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Requirements and sizing.
The hard requirements are almost all about the node behind ElectrumX. Bitcoin Core must not be pruned and must run with txindex=1; since 2.0 it must also run txospenderindex=1, an index added in Bitcoin Core 31 that serves the new blockchain.outpoint.subscribe call. ElectrumX needs Python 3.10 or later (Debian 13 ships 3.13), and DB_ENGINE is now a mandatory choice between LevelDB and RocksDB. The developers report that RocksDB syncs from genesis in roughly 25 % less time on SSD and produces a slightly smaller database, so we use it below.
The 2.0 changelog gives this breakdown for Bitcoin mainnet around height 950,000:
| Component | Size |
|---|---|
Bitcoin Core blocks/ | 788 GiB |
Bitcoin Core chainstate/ | 12 GiB |
indexes/txindex/ | 66 GiB |
indexes/txospenderindex/ (new in 2.0) | 88 GiB |
| ElectrumX database, RocksDB | 106 GiB (122 GiB with LevelDB) |
| Total | ≈ 1,060 GiB, about 1.14 TB |
A base Rigi's 1 TB drive holds about 931 GiB, so it cannot take this before the operating system is even counted. With the +2 TB option the layout is straightforward: the Bitcoin Core data directory (954 GiB) goes on the 2 TB drive, and the ElectrumX database stays on the system drive. As for growth, Blockchain.com's series went from 673.58 GB at the end of September 2025 to 767.78 GB on 11 September 2026, roughly 99 GB a year annualised. Scaling that for the indexes, the Bitcoin directory grows about 120 GB a year, which leaves the 2 TB drive roughly seven years of headroom. That figure is theoretical; block sizes are not a constant.
If you came looking for an ElectrumX VPS, the arithmetic is unkind. The Ultra plan has 1 TB of disk, which is too small, and the only cloud VPS that fits is Summit (32 vCPU, 64 GB, 2 TB, 100 TB transfer) at $119.99, which is $45 more than a Rigi with the extra drive and has a third less disk. A Pilatus (8 cores, 64 GB, 2 TB) at $84.99 also fits, but it costs more than Rigi plus 2 TB and offers less storage; take it only if you want the extra cores or memory for other work on the same machine.
Memory is not the constraint on a Rigi. During Bitcoin Core's initial block download, give it a large dbcache and leave ElectrumX stopped. ElectrumX's own cache (CACHE_MB) defaults to 1,200 MB, and its documentation advises against going above 2,000 MB or 60 % of RAM. The 2.0 changelog measured about 2 GB of RAM while syncing on standard CPython and about 8 GB on a free-threaded interpreter, where the multi-threaded block processor cut the initial sync to a bit under half. On standard Python, indexing mostly keeps one core busy, so the six cores and twelve threads of the EPYC 4244P are enough for both processes.
04/07
How to deploy it with us.
Order the Rigi with Debian 13 and the +2 TB NVMe option. You get full root and a KVM console, which you will appreciate the first time a firewall rule locks you out. Find the empty drive with lsblk before formatting anything; the device name below is an example.
lsblk -o NAME,SIZE,MOUNTPOINT
mkfs.ext4 -m 0 -L bitcoin /dev/nvme1n1 # the empty 2 TB drive, check the name first
mkdir -p /srv/bitcoin
echo 'LABEL=bitcoin /srv/bitcoin ext4 defaults,noatime 0 2' >> /etc/fstab
mount /srv/bitcoin
adduser --system --group --home /srv/bitcoin bitcoin
chown -R bitcoin:bitcoin /srv/bitcoinInstall Bitcoin Core 32.1 from bitcoincore.org (32.0 was tagged but never released) and verify it before running it: check the tarball against SHA256SUMS, then verify SHA256SUMS.asc with builder keys you trust from the guix.sigs repository. Generate the RPC credential with rpcauth.py from the Bitcoin Core source tree; ElectrumX needs the plain password, bitcoind only the hash. Then write /srv/bitcoin/bitcoin.conf:
server=1
txindex=1
txospenderindex=1
dbcache=16000 # initial sync only; drop to 2000 afterwards
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcauth=electrumx:<salt$hash from rpcauth.py>Run bitcoind as the bitcoin user under systemd with -datadir=/srv/bitcoin and a generous TimeoutStopSec, and wait. ElectrumX gains nothing from starting early, so wait until bitcoin-cli -datadir=/srv/bitcoin getindexinfo reports "synced": true for both indexes, then lower dbcache and restart the node. If you want inbound peers, open TCP 8333; never open 8332.
ElectrumX goes into a virtualenv, because Debian 13 will not let pip write to the system Python. If pip has to build the RocksDB bindings from source, it needs a compiler and the RocksDB headers; e-x[leveldb] is the conservative fallback.
apt install python3-venv build-essential librocksdb-dev tor
adduser --system --group --home /var/lib/electrumx electrumx
python3 -m venv /opt/electrumx
/opt/electrumx/bin/pip install "e-x[rocksdb]==2.0.0"
mkdir -p /etc/electrumx
openssl req -x509 -newkey rsa:2048 -nodes -days 3650 -subj "/CN=electrumx" \
-keyout /etc/electrumx/server.key -out /etc/electrumx/server.crt
chown -R electrumx:electrumx /etc/electrumx/etc/electrumx.conf for a private server, listening on loopback only:
COIN=Bitcoin
DB_ENGINE=rocksdb
DB_DIRECTORY=/var/lib/electrumx
DAEMON_URL=http://electrumx:YOUR_RPC_PASSWORD@127.0.0.1:8332/
SERVICES=ssl://127.0.0.1:50002,tcp://127.0.0.1:50001,rpc://
SSL_CERTFILE=/etc/electrumx/server.crt
SSL_KEYFILE=/etc/electrumx/server.key
PEER_DISCOVERY=self
ANON_LOGS=1
CACHE_MB=2000PEER_DISCOVERY=self stops the server from crawling and announcing itself, and leaving REPORT_SERVICES unset means it advertises nothing. Make the file readable by root and the electrumx group only (chgrp electrumx, then chmod 640), since it holds the RPC password. The unit file:
# /etc/systemd/system/electrumx.service
[Unit]
Description=ElectrumX
After=network-online.target bitcoind.service
[Service]
User=electrumx
EnvironmentFile=/etc/electrumx.conf
ExecStart=/opt/electrumx/bin/electrumx_server
LimitNOFILE=8192
TimeoutStopSec=30min
Restart=on-failure
[Install]
WantedBy=multi-user.targetThe long stop timeout is deliberate: the HOWTO warns that ElectrumX can need several minutes to flush its cache during the initial sync and asks for at least ten. Start it with systemctl enable --now electrumx, follow it with journalctl -u electrumx -f, and stop it with electrumx_rpc stop rather than a kill. It serves no wallet until it has caught up with bitcoind.
To reach a loopback-only server from your desk, use an SSH tunnel (ssh -N -L 50002:127.0.0.1:50002 you@server) and point Sparrow's Private Electrum setting at 127.0.0.1:50002 with SSL, or start Electrum with --oneserver --server 127.0.0.1:50002:s. The better option for a wallet you carry around is an onion service: add HiddenServiceDir /var/lib/tor/electrumx/ and HiddenServicePort 50001 127.0.0.1:50001 to /etc/tor/torrc, restart Tor, and give the wallet the hostname from that directory with its Tor proxy enabled. Our network then sees Tor relays talking to your server instead of your home connection, and the server has no idea where your wallet sits.
If you prefer Docker, the 2.0 release ships two Dockerfiles in contrib/: a minimal one and one that builds a free-threaded Python for faster syncs. Build them yourself from the tagged release. A server that sees every address you own is a poor place for an image from a stranger's Docker Hub account.
05/07
Cost.
| Item | Monthly |
|---|---|
| Rigi: EPYC 4244P, 6 cores / 12 threads, 32 GB DDR5 ECC, 1 TB NVMe Gen4 | $64.99 |
| +2 TB NVMe | $10.00 |
| Total | $74.99 |
| Quarterly billing, −10 % (theoretical, if applied to the whole bill) | $67.49 ($202.47 per quarter) |
| Yearly billing, −25 % (theoretical, same assumption) | $56.24 ($674.91 per year) |
The price includes the 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4 address, the KVM console and full root. The initial block download pulls roughly 800 GB, and on the dedicated line that costs nothing extra. One add-on is worth considering: ElectrumX takes many hours to rebuild from genesis, so a 250 GB bucket of S3-compatible object storage at $1.99 a month holds a restic snapshot of the database. Stop ElectrumX before you take it; never back up a live database. Everything else is on the pricing page.
We bill in US dollars and take crypto only: Bitcoin, Monero, Tether, Ethereum, Litecoin and others. Top-ups run from $25 to $5,000 with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. Opening the account is no-KYC: an email address is enough.
06/07
Why Switzerland, and what it does not do for you.
Some large hosts are uncomfortable with blockchain workloads. In 2022 Hetzner told customers that crypto-related use of its products, nodes included, breached its terms; in November of that year it blocked Solana activity and about 1,000 validators went offline, and in a letter reported that December it said it wanted to exclude everything crypto-related, including RPC nodes and blockchain data. Check their current terms yourself. Ours are short: Bitcoin nodes and Electrum servers are welcome, and so is mining.
The server is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen), under the revised Federal Act on Data Protection in force since 1 September 2023. The European Commission confirmed Switzerland's adequacy decision on 15 January 2024, and as of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. The revision of the Swiss surveillance ordinance put to consultation in January 2025 is not in force; the Federal Council has announced a second consultation. None of this puts your server beyond the law. We act on decisions of competent Swiss authorities, and the offshore hosting page explains how that works. The privacy you gain from this setup is technical: your queries go to a machine you control, over Tor if you set it up that way.
07/07
Limits and your obligations.
You are responsible for what runs on the machine. Patch it: Bitcoin Core disclosed two memory-exhaustion CVEs on 28 October 2026 alongside 29.5, 30.4, 31.2 and 32.1, and ElectrumX 1.19 fixed a denial-of-service bug that stopped new sessions once MAX_SESSIONS was reached. Keep bitcoind's RPC port and ElectrumX's local RPC (port 8000) off the public interface. If you run a public server, abuse complaints about it are forwarded to you and you answer them, and you tune the session cost limits; the DDoS protection in front of the port does not replace them.
Using the server against wallet users ends the contract. Electrum users were the target of a phishing campaign run through rogue servers in early 2019, and ElectrumX 1.9.2 and 1.10.0 added countermeasures against it; running such a server with us is grounds for termination. Since 26 February 2026, Swiss sanctions against Russia (SR 946.231.176.72, art. 20(2)) prohibit providing crypto-asset services to Russian nationals, to people residing in Russia and to entities established there, subject to the ordinance's exceptions. Whether a public Electrum server counts as such a service is for your lawyer to judge; if ElectrumX is part of a commercial offering, checking that is your obligation.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| Rigi1,798 mRecommendedEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Rigi |
| Pilatus2,128 mBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Pilatus |
| Säntis2,502 mMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Säntis |
| Titlis3,238 mHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Titlis |
| Eiger3,967 mLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Eiger |
| Matterhorn4,478 mMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Matterhorn |
Each configuration is named after a Swiss summit, drawn from its real silhouette. NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I run ElectrumX on a pruned node to save disk?
No. ElectrumX needs a non-pruning Bitcoin Core with txindex=1, and version 2.0 adds txospenderindex=1. Together they add about 154 GiB to the raw block data, which is why the extra NVMe drive is the first option we recommend.
I run ElectrumX 1.x. Can I upgrade in place?
No. Version 2.0 changes the on-disk schema with no migration path, so the database is rebuilt from genesis, and the node must be Bitcoin Core 31 or newer with the new index built. On a Rigi with the extra drive you can do this without downtime: run 2.0 with its own DB_DIRECTORY and ports beside the 1.x instance (the two databases together take about 230 GiB on the 1 TB system drive), and switch your wallets over once it has caught up.
ElectrumX, Fulcrum or electrs?
For one person and one wallet, electrs is the lighter choice and does not need Bitcoin Core's transaction index. Fulcrum is the usual pick when query speed matters. We choose ElectrumX when we want the server maintained by the people who maintain the Electrum wallet and protocol, or when the plan is to join the public server network, which it was built for.
Do I need the Bitcoin node on the same server?
Not strictly, since DAEMON_URL accepts a remote node, but on this budget it makes no sense to pay twice for 1 TB of blocks. If you already run a node with us, see our page on paying with Bitcoin; ElectrumX can point at it over a private tunnel.
Is a Rigi enough for a public ElectrumX server?
For a modest public server, yes: 32 GB, unmetered traffic under fair use and DDoS protection cover what ElectrumX's default limits allow, starting with 1,000 concurrent sessions. Set REPORT_SERVICES to your hostname, open 50002, and keep ANON_LOGS on so client IPs do not accumulate in your journal. If you outgrow it, the other dedicated servers run up to 24 cores and 192 GB.
Who can I contact before ordering?
Open a support ticket from the client panel. We do not publish a support email address.
Sources
Every fact on this page, with its source
Checked 31 Oct 2026 unless noted.
Swiss law and authorities
- Federal Act on Data Protection (FADP), RS 235.1, in force since 1 September 2023fedlex.admin.ch
- admin.ch: revision of the surveillance ordinance (VÜPF/OSCPT), consultation of 29 January 2025, not in force as of 31 October 2026admin.ch
- SECO press release of 25 February 2026 and RO 2026 92: crypto-asset services ban, SR 946.231.176.72 art. 20(2), in force since 26 February 2026seco.admin.ch
EU and other countries
Industry, providers and software
- ElectrumX README, spesmilo/electrumx: maintainers, Python ≥ 3.10, PyPI name e-xgithub.com
- ElectrumX HOWTO: non-pruning node, txindex=1, systemd stop timeout of at least 10 minutes, single-core indexing on standard Pythongithub.com
- The Block, 2 November 2022: about 1,000 Solana validators offline after Hetzner blocked accesstheblock.co
- Proactive Investors, 10 December 2022: Hetzner letter excluding crypto, including RPC nodes and blockchain dataproactiveinvestors.com
Other references
- ElectrumX ChangeLog, version 2.0.0 (3 July 2026): new DB schema, Bitcoin Core ≥ 31 with txospenderindex=1, disk sizes at height ~950,000, mandatory DB_ENGINE, RocksDB ~25 % faster, RAM during sync, free-threaded speed-up, Dockerfiles in contrib/; version 1.19.0 (11 Nov 2025) session DoS fix; versions 1.9.2 and 1.10.0 (2019) phishing countermeasureselectrumx-spesmilo.readthedocs.io
- ElectrumX environment variables: SERVICES syntax and ports, CACHE_MB default and limits, PEER_DISCOVERY, ANON_LOGS, MAX_SESSIONS default of 1,000electrumx-spesmilo.readthedocs.io
- PyPI, e-x 2.0.0, released 3 July 2026, extras leveldb and rocksdbpypi.org
- Bitcoin Core 32.1 release notes (32.0 tagged but never released)bitcoincore.org
- Bitcoin Core: releases 29.5, 30.4, 31.2 and 32.1 and two CVE disclosures, 28 October 2026bitcoincore.org
- Blockchain.com blockchain size via YCharts: 767.78 GB on 11 September 2026ycharts.com
- Statista: 673.58 GB in September 2025statista.com
- Sparrow Wallet quick-start guide, public server privacy warningsparrowwallet.com
- The Block, August 2022: Hetzner says running crypto nodes is against its termstheblock.co
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
