How to make a cryptocurrency miner