Last active
April 15, 2021 20:15
-
-
Save mblackman/db649e4cd68b148db1cc99d013e8a5a8 to your computer and use it in GitHub Desktop.
Windows Chia Plotting Script
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
@echo off | |
set chiaVersion=<CHIA_VERSION> | |
set chia=C:\Users\<USER_NAME>\AppData\Local\chia-blockchain\app-%chiaVersion%\resources\app.asar.unpacked\daemon\chia.exe | |
set plotName=%1 | |
set destFolder=<DESTINATION_FOLDER> | |
if %plotName%==1 goto :t1 | |
goto :unknown | |
:t1 | |
set tempFolder=<TEMP_FOLDER> | |
goto :plot | |
:plot | |
echo start to plot %plotName% | |
del /s /q %tempFolder%\* | |
%chia% plots create -k 32 -b 5500 -t %tempFolder% -d %destFolder% -n 1 -r 4 | |
goto :plot | |
:unknown | |
echo unknown temp name %plotName% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment