A cryptocurrency is an electronic digital or virtual money designed to function as a medium of exchange. It uses cryptography to protect and verify transactions and to restrain the production of new components of a…