Skip to content

Instantly share code, notes, and snippets.

@sangimed
Last active May 8, 2022 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sangimed/72b0ed088a336d2c18bc6338bfce3b78 to your computer and use it in GitHub Desktop.
Save sangimed/72b0ed088a336d2c18bc6338bfce3b78 to your computer and use it in GitHub Desktop.
Flux mining script with confirmation message (could be generalized to any miner)
@echo off
echo wscript.Quit((msgbox("Launch the ETH/ZIL dual mining script and make some $$$ ?",4+32+256, "Your Title Here")-6) Mod 255) > %temp%\msgbox.vbs
start /wait %temp%\msgbox.vbs
rem echo wscript returned %errorlevel%
if errorlevel 1 goto error
echo We have Yes
goto end
:error
echo We have No
exit 0
:end
del %temp%\msgbox.vbs /f /q
rem underclocking options for RTX 3070 : --pl 55 --cclock -200 --mclock 1300 --intensity
D:\Miners\t-rex-0.25.12-win\t-rex -a ethash -o stratum+tcp://eu.ezil.me:5555 -u <ETH_wallet_adr>.<zil_wallet_adr> -p x -w <host_name> --pl 55 --cclock -200 --mclock 1300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment