Azerbaijan is preparing to introduce legislation by the end of the year that will require cryptocurrency companies to obtain licenses and comply with.