The Islamic Republic of Iran has authorized cryptocurrency mining as a legitimate industrial activity.