Indonesia officially legalized cryptocurrencies.