Cryptocurrencies are a speculative investment now but the blockchain technology that underpins them seems certain to have major implications.