Self-hosted app·Lightning, ecash and crypto payments
Cashu mint hosting on a Swiss VPS.
Cashu mint hosting in ALP1, Swiss Alps: Nutshell or cdk-mintd on a $6.99 VPS, Lightning backend sizing, backups, and the custody rules you inherit.
- Bitcoin
- Lightning
- PostgreSQL
- Caddy
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
Yes. A Cashu mint runs on our smallest plan, Cloud VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of monthly transfer, $6.99 a month), in ALP1 in the Swiss Alps, provided the Lightning node behind the mint lives somewhere else or is the LDK Node built into cdk-mintd. If you want Bitcoin Core and LND or Core Lightning on the same machine, order Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, $12.99) instead; it is the plan our Lightning node guide uses for a pruned node.
The server is the easy part. A mint holds other people's bitcoin, so what decides whether yours works is custody: who can reach the keys, how you back up the database that records spent tokens, and whether the law where you operate treats you as a financial intermediary. That last question needs a lawyer, not a hosting page; the section on limits says why.
02/06
What a Cashu mint is, and who runs one.
Cashu is an open-source Chaumian ecash protocol for Bitcoin. A user pays a Lightning invoice to the mint and receives blind-signed tokens that sit in the wallet on their device; they can hand those tokens to someone else without touching Lightning, and anyone holding them can later "melt" them by having the mint pay an invoice. Because the signatures are blinded (David Wagner's variant of Chaumian blinding), the mint cannot link the tokens it issued to the ones handed back, and the protocol has no user accounts. The specifications are published as NUTs.
The Cashu FAQ is candid about where that privacy ends. When a user melts, the mint pays the invoice and can usually identify the recipient. Tokens come in power-of-two denominations, so large and rare amounts have little crowd to hide in. A mint also sees the IP address of every wallet that does not connect through Tor or a VPN. Custody is not hidden at all: ecash wallets are custodial by design, and users trust the mint to honour what it issued.
Two implementations cover almost every self-hosted mint. Nutshell is the Python reference wallet and mint, published by calle on PyPI since 18 September 2022; the current release is 0.21.0, from 16 September 2026, under the MIT licence. cdk-mintd is the mint binary of the Rust Cashu Development Kit. The people running them are a Bitcoin meetup or a village that wants a shared ecash wallet, a merchant issuing vouchers or loyalty credit backed by sats, a site selling articles one at a time, a streaming service billing by the minute. Both projects call themselves early-stage software that handles real sats, which is the right frame for deciding how much your mint should hold. Protocol questions go to the Cashu developers' Telegram channel and Matrix space.
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/06
Requirements and sizing.
The mint itself is a small HTTP API in front of a database: Nutshell uses SQLite or PostgreSQL, cdk-mintd SQLite, PostgreSQL or redb. Neither takes much of a 2 GB machine. What sizes the server is the Lightning backend, and there are three layouts worth considering.
| Layout | What runs on the VPS | Plan |
|---|---|---|
| Remote node | Mint and PostgreSQL; LND or Core Lightning elsewhere, reached over WireGuard or Tor | Starter, $6.99/mo |
| Embedded LDK | cdk-mintd with its built-in LDK Node, chain data from an Esplora server | Starter, $6.99/mo |
| All in one | Mint, PostgreSQL, pruned Bitcoin Core, LND or Core Lightning | Standard, $12.99/mo |
The embedded layout is the cheapest self-contained mint, with one catch: LDK Node then learns about the chain from an Esplora server you do not run, which sees what your node asks about. The all-in-one layout removes that dependency. A Bitcoin Core node pruned to the minimum needs around 12 GB of disk, which leaves most of Standard's 160 GB for channel data and the database. An archival node is a different machine altogether: the chain alone was about 768 GB in September 2026, which is why our Bitcoin node hosting page starts on a dedicated server.
Nutshell talks to LND (REST or gRPC) and Core Lightning (CLNRest), plus Strike and Spark backends and a FakeWallet for testing. cdk-mintd supports LND, Core Lightning, LNbits, LDK Node and a fake wallet. A backend operated by a third party puts a second custodian behind yours, so prefer a node you control; if you take the LNbits route, our LNbits guide covers what that adds.
On the network side, only 443 (and 80 for certificate issuance) needs to be public. Nutshell listens on 3338 and cdk-mintd on 8085, and both should stay bound to localhost behind a reverse proxy. Open 9735 if your own Lightning node should accept inbound peers. Bandwidth will not be your limit: assuming, as a round theoretical figure, 10 KB per swap request and response, Starter's 10 TB covers about a billion swaps a month. The real ceiling is Lightning liquidity, since users mint with your inbound capacity and melt with your outbound capacity, and no plan upgrade buys either.
04/06
How to deploy it with us.
This is the Nutshell path on Debian 13 with Docker; cdk-mintd follows the same shape.
- 01Order Cloud VPS Starter with Debian 13, or Standard for the all-in-one layout. The account takes an email address and a password.
- 02Install Docker Engine with the Compose plugin from Docker's Debian repository, and Caddy from Debian's own. Close every inbound port except 22, 80 and 443.
- 03Generate the mint's master key with
openssl rand -hex 32. Every keyset is derived from it, so store a copy offline, away from the server and from your database backups. - 04Write a compose file that pins the image version and publishes the API on localhost only:
services:
mint:
image: cashubtc/nutshell:0.21.0
command: poetry run mint
restart: unless-stopped
env_file: mint.env
ports:
- "127.0.0.1:3338:3338"
depends_on: [db]
db:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_USER: cashu
POSTGRES_PASSWORD: change-this
POSTGRES_DB: cashu
volumes:
- ./pgdata:/var/lib/postgresql/data# mint.env
MINT_LISTEN_HOST=0.0.0.0
MINT_LISTEN_PORT=3338
MINT_PRIVATE_KEY=<output of openssl rand -hex 32>
MINT_DATABASE=postgres://cashu:change-this@db:5432/cashu
MINT_BACKEND_BOLT11_SAT=FakeWallet
MINT_MAX_BALANCE=1000000
MINT_MAX_MINT_BOLT11_SAT=100000
MINT_MAX_MELT_BOLT11_SAT=100000
MINT_WATCHDOG_ENABLED=TRUE- 05Put Caddy in front with a three-line site block in
/etc/caddy/Caddyfile, reload Caddy and rundocker compose up -d. Caddy obtains the certificate itself.
mint.example.com {
reverse_proxy 127.0.0.1:3338
}- 06Test against FakeWallet first: point the Nutshell CLI wallet at the mint with
MINT_URL, then runcashu invoice 100,cashu send 50andcashu receivewith the token it prints. Only then switchMINT_BACKEND_BOLT11_SATtoLndRestWalletorCLNRestWallet, mounting the TLS certificate and macaroon (or rune) into the container read-only. - 07Read the mint's log after a few external requests. Nutshell rate-limits per client IP by default, and its example config warns that a proxy can hide client addresses. If the log shows a single internal address, the per-IP limit has become a global one; fix the forwarding before you announce the mint.
The limits in the example cap total issued ecash at 1,000,000 sats and each mint or melt at 100,000; set them to what you can afford to lose, then raise them slowly. The watchdog shuts the mint down if issued ecash ever exceeds the backend balance, which is the failure you most want to stop early.
For cdk-mintd, the images are cashubtc/mintd and cashubtc/mintd-ldk-node. Follow the README of the exact release you install, because recent versions changed how configuration is stored.
Backups deserve more thought than the install. The master key lets you rebuild keysets; the database holds the record of spent tokens. Restore last night's dump and every token spent since then looks unspent again, which is a double-spend window. Our daily VPS backups (+20 %) are fine for recovering the operating system, but the mint needs continuous PostgreSQL archiving, with WAL-G or pgBackRest, to an S3 bucket in our object storage, together with your Lightning channel backups.
05/06
Cost.
| Item | Monthly |
|---|---|
| Cloud VPS Starter (2 vCPU, 2 GB, 80 GB NVMe, 10 TB transfer, 1 Gbps) | $6.99 |
| Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps) | $12.99 |
| Object storage, 250 GB bucket for WAL and channel backups | $1.99 |
| Daily VPS backups | +20 % of the plan |
| Extra IPv4 | $2.00 |
A Starter with a 250 GB bucket comes to $8.98 a month; the all-in-one Standard with the same bucket to $14.98. Paying yearly takes about 25 % off the VPS, which puts Starter at $62.99 a year. Every plan includes DDoS protection, one IPv4 address and full root, at the figures shown on our pricing page.
You pay from a balance kept in US dollars and topped up in Bitcoin, Monero, Tether, Ethereum, Litecoin or other coins, from $25 to $5,000. Top-ups carry 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. As described on our no-KYC hosting page, an email address is enough to open the account.
06/06
Limits, and the law you inherit.
On our side the rules are short. Mining, Bitcoin nodes and Lightning are allowed on our network. That is not universal: in August 2022 Hetzner told users that running even a single crypto node breached its terms, and in November 2022 it blocked access for more than a thousand Solana validators. Whatever host you use, read its current terms before you put a custodial service on it. Our acceptable use policy lists five hard limits, and fraud is one of them; a mint that takes deposits and disappears is fraud. We act on decisions of competent Swiss authorities, and a foreign authority normally has to reach us through Swiss mutual legal assistance. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia; our offshore hosting page covers the rest of that argument.
The mint is a different matter, and here our answer is the legal one: a custodial mint may need a licence, and you should take legal advice before opening it to the public. The location of the server does not by itself decide which financial law applies to you; where you operate and whom you serve matter more. If you operate from Switzerland, FINMA's position is that a custody wallet provider holds clients' keys, has power of disposal over their assets and so provides a payment service. Doing that professionally falls under the Anti-Money Laundering Act, and FINMA adds that banking law questions arise as well. Whether a given mint crosses the threshold of professional activity is set by ordinance, and once it does, the operator has two months to join a self-regulatory organisation or apply to FINMA. A small mint among friends and a public mint with a growing balance are different cases, and we are not the ones to tell you which yours is. A Swiss-based operator should also note that since 26 February 2026 the Russia sanctions ordinance prohibits providing crypto-asset services to Russian nationals, to people resident in Russia and to entities established there, subject to its exceptions.
Two practical limits apply as well. Everything we run is in one facility, ALP1, so a mint that must keep paying out during a site outage needs a plan with a second provider. And while blind signatures keep ecash itself out of your database, your proxy logs still record IP addresses, which can be personal data under the revised Federal Act on Data Protection, in force since 1 September 2023; keep that retention short. The European Commission reconfirmed Switzerland's adequacy on 15 January 2024, so a merchant with EU customers needs no extra transfer safeguards for those logs.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC 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 a Cashu mint really run on the $6.99 Starter plan?
Yes, when its Lightning backend is a node you run elsewhere or the LDK Node embedded in cdk-mintd. The mint and PostgreSQL are light. If Bitcoin Core and LND or Core Lightning have to share the machine, take Standard at $12.99, which our own Lightning guides use for a pruned node.
Do I need a licence to run a Cashu mint?
Possibly. A mint holds users' bitcoin, which Swiss supervisory practice treats as custody; done professionally, it falls under anti-money-laundering law and can raise banking-law questions. Outside Switzerland your own country's rules apply, so ask a lawyer who knows them before the mint goes public.
Will you ask for my ID, or for my users' identities?
No. An email address is enough to open an account with us, and we do not deal with your users at all. Any duties you owe them, including identification under anti-money-laundering law, are yours and depend on how you operate.
Can users reach my mint over Tor?
Yes. Run a Tor onion service on the VPS pointing at the mint, and list the .onion address alongside the clearnet URL in MINT_INFO_URLS. It closes the IP-address gap the Cashu FAQ describes, for users who choose to use it.
What happens to outstanding ecash if the VPS fails?
Users keep their tokens, but nobody can swap or melt until the mint is back, and ALP1 is our only site. Rebuild on a fresh VPS from the offline master key and the latest WAL archive; with both, outstanding tokens stay redeemable. Without the key, they cannot be verified. With only an old database dump, recently spent tokens can be spent twice.
Sources
Every fact on this page, with its source
Checked 31 Oct 2026 unless noted.
Swiss law and authorities
EU and other countries
- EU adequacy for Switzerland reconfirmed on 15 January 2024European Commission
- CLOUD Act executive agreements limited to the United Kingdom and AustraliaUS Department of Justice
Industry, providers and software
Other references
- Cashu as Chaumian ecash for Bitcoin, mint and wallet roles, use cases, Telegram and Matrix R&D channelsdocs.cashu.space
- Custodial nature of ecash wallets, privacy limits (melt recipients, denominations, IP addresses), public mint listsCashu FAQ
- Nutshell 0.21.0 released 16 September 2026, first release 18 September 2022, MIT licencePyPI, cashu
- cdk-mintd backends, databases, Docker images, default port 8085cdk-mintd README
- Bitcoin blockchain size, 767.78 GB on 11 September 2026YCharts, from Blockchain.com
- Minimally pruned Bitcoin Core node at about 12 GB in 2026Spark, Bitcoin node storage calculator
- Hetzner says running crypto nodes breaches its terms, 26 August 2022The Block
- Custody wallet providers, AMLA and banking lawFINMA, Developments in FinTech
- Professional activity and the two-month affiliation periodVQF, duty of subordination
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.
