Created
February 20, 2021 09:34
-
-
Save alebon/f75a4a64b34e5619f3410c51ac264715 to your computer and use it in GitHub Desktop.
Ethminer shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> { } }: | |
let | |
ethMinerScript = pkgs.writeScriptBin "start" '' | |
ethminer --farm-recheck 200 --cuda --pool stratum1+tcp://<ETH_ADDRESS>.<ETH_MINER_TAG>@eu1.ethermine.org:4444 | |
''; | |
in | |
pkgs.mkShell { | |
buildInputs = with pkgs; [ | |
ethminer | |
ethMinerScript | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment