Cryptocurrency transactions are officially permitted in a number of countries. They are usually regarded as a good or investment asset and are subject to the relevant legislation for tax purposes. In some countries, bitcoins are recognized as a unit of account (for example, in Germany), in others (for example, in Japan