The president of Ukraine signed a law that creates a legal framework for crypto assets in the country.