Although the creation of cryptocurrencies is normally lawful, certain countries and authorities have partially or completely forbidden them. For instance, since 2017, it has been illegal to use virtual currencies to raise money in China, and all bitcoin transactions are currently restricted.