Skip to content

Latest commit

 

History

History
158 lines (116 loc) · 6.6 KB

README.md

File metadata and controls

158 lines (116 loc) · 6.6 KB

cloud chia plotter: fast chia plotting without SSD disk or large amount of memory.

It does not require SSD disk or large amount of memory, and can run well on low configuration rig, such as raspberry pi.

https://anyplots.com/ The marketplace to buy and sell chia plots, starts at $0.20/plot.


Cloud Chia Plotter Usage

Arguments:

-p  project token ( get it from your project page https://anyplots.com/buy-chia-plot/projects ), such as(40 chars):
        -p 000005e13f5fc456753081edf7dcc98986dcffa15 

-d directories for save plots, separate multiple directories with semicolons, such as: -d "/mnt/d/;/mnt/e/;/mnt/f/" -d "d:\;e:\;f:\"
-b set your real network bandwidth/speed(Mbps), such as: for 500Mbps: -b 500 , for 1000Mbps: -b 1000 please test your network speed at https://speedtest.net
for example:

.\CloudChiaPlotter.exe -p 000005e13f5fc456753081edf7dcc98986dcffa15 -d "d:\;e:\;f:\" -b 500

./CloudChiaPlotter -p 000005e13f5fc456753081edf7dcc98986dcffa15 -d "/mnt/d/;/mnt/e/;/mnt/f/" -b 500

You can run multiple processes at the same time.

Tips

Do not set bandwidth parameter that are inconsistent with your actual bandwidth, Please test your network speed at https://speedtest.net
If you set -b 1000 for the actual bandwidth of 500mbps, it will reduce your download speed in most cases, because the probability of network packet loss will increase.

For bandwidth greater than 500mbps, two processes can be run at the same time, but the bandwidth parameter should be divided by 2.

Try to use the network cable to download. The wireless network is unstable and the download speed is affected.

Under the condition that the program does not change the directory configuration, for uncompleted plot, It will continue to transmit the remaining part only.



for Windows.

For beginners, we provide a simple GUI program. go Windows-GUI



If you are familiar with PowerShell, you can use the following scripts.
#Run it on Windows
#Now, open a powershell window (Click Start, type PowerShell, and then click Windows PowerShell)
#run the follow command(If there is a problem with the execution sequence, please execute line by line)

#del .\CloudChiaPlotter.exe

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest -Uri https://github.com/anyplots/cloud-chia-plotter/releases/download/v3/cloud-chia-plotter-v3-win-x64.exe -Outfile .\CloudChiaPlotter.exe .\CloudChiaPlotter.exe -p {your project token} -d "d:\;e:\;f:\" -b {your bandwidth}

for Linux series.

# run the follow script in the linux console
# Note that different platforms correspond to different link versions

#rm ./CloudChiaPlotter

wget -O CloudChiaPlotter https://github.com/anyplots/cloud-chia-plotter/releases/download/v3/cloud-chia-plotter-v3-linux-x64 chmod +x ./CloudChiaPlotter ./CloudChiaPlotter -p {your project token} -d "/mnt/d/;/mnt/e/;/mnt/f/" -b {your bandwidth}

for Mac OS series.

#Running the CloudChiaPlotter on Mac OS
#Now, open a terminal window (Mac OS version of the command line)
#run the follow command:

#rm ./CloudChiaPlotter curl -LJ https://github.com/anyplots/cloud-chia-plotter/releases/download/v3/cloud-chia-plotter-v3-osx-x64 -o ./CloudChiaPlotter chmod +x ./CloudChiaPlotter ./CloudChiaPlotter -p {your project token} -d "/mnt/d/;/mnt/e/;/mnt/f/" -b {your bandwidth}

for Arm64 Linux series(Raspberry Pi 3, Pi 4, etc)

# run the follow script in the linux console
# Note that different platforms correspond to different link versions

#rm ./CloudChiaPlotter

wget -O CloudChiaPlotter https://github.com/anyplots/cloud-chia-plotter/releases/download/v3/cloud-chia-plotter-v3-linux-arm64 chmod +x ./CloudChiaPlotter ./CloudChiaPlotter -p {your project token} -d "/mnt/d/;/mnt/e/;/mnt/f/" -b {your bandwidth}

for Arm32 Linux series.

# run the follow script in the linux console
# Note that different platforms correspond to different link versions

#rm ./CloudChiaPlotter

wget -O CloudChiaPlotter https://github.com/anyplots/cloud-chia-plotter/releases/download/v3/cloud-chia-plotter-v3-linux-arm32 chmod +x ./CloudChiaPlotter ./CloudChiaPlotter -p {your project token} -d "/mnt/d/;/mnt/e/;/mnt/f/" -b {your bandwidth}

Tested download Speed

Different user experiences may vary, depending on your network and the plotting server you choose.
download from U.S. based plotting server at the following countries(bandwidth 1 Gbit/s):
US: ping latency ~50ms,  download speed > 1000Mbit/s, ~ 13 minutes per plot.
UK: ping latency ~80ms,  download speed > 1000Mbit/s. ~ 13 minutes per plot.    
DE: ping latency ~100ms, download speed > 1000Mbit/s. ~ 13 minutes per plot.    
FR: ping latency ~100ms, download speed > 1000Mbit/s. ~ 13 minutes per plot.    
JP: ping latency ~160ms, download speed > 900Mbit/s.  ~ 15 minutes per plot.  
AU: ping latency ~220ms, download speed > 800Mbit/s.  ~ 16 minutes per plot.  
IN: ping latency ~280ms, download speed > 700Mbit/s.  ~ 18 minutes per plot.  

How to build it from source code?

As this project is based on Microsoft .NET 6.0(more information https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
You can use Microsoft Visual Studio 2022 to quickly compile various system versions

We have precompiled some executable files for several common OS(see here https://github.com/anyplots/cloud-chia-plotter/releases).
the compile configuration files is located "Properties/PublishProfiles/"
linux-arm.pubxml
linux-arm64.pubxml
linux-x64.pubxml
osx-x64.pubxml
win-x64.pubxml

You also can compile it for other OS by yourself.
It is not recommended to change the business logic in the code, otherwise you may not be able to download or occurs unknown errors.

Build it for linux without VS2022

git clone https://github.com/anyplots/cloud-chia-plotter
wget -O ./dotnet-install.sh https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh
./.dotnet/dotnet  publish ./cloud-chia-plotter/CloudChiaPlotter.csproj /p:PublishProfile=./cloud-chia-plotter/Properties/PublishProfiles/linux-x64.pubxml