BERLIN—A motley crew of old-money investors, entrepreneurs, crypto-anarchists and anti-inflation hawks is rallying around bitcoin in a surprising place: cash-loving Germany.

Driven by interest from these very different constituencies, Germany and especially its capital are turning into a development hub for virtual currencies and blockchains, the distributed ledger technology that underpins them.

“It’s...