Investing in digital currencies