Рекомендую ознакомиться с подробным алгоритмом здесь: https://richtalk.ru/kriptovalyuta/majning/chto-takoe-bitkoin-ferma-i-kak-majnit-bitkoiny-na-domashnem-kompyutere/