The move aims to regulate the country’s growing crypto market and restrict trading on foreign platforms.