Page cover image

Windows

This guide will walk you through setting up renterd on Windows. At the end of this guide, you should have:

  • Installed Sia renterd software

  • Created a renterd wallet


Pre-requisites

To ensure you will not run into any issues with running renterd it is recommended your system meets the following requirements:

  • Network Access: renterd needs a stable internet connection and open network access in order to store and retrieve data on the Sia network.

  • Operating System Compatibility: renterd is only compatible with Windows 64bit systems.

  • Hardware Requirements: A stable setup that meets the following specifications is recommended. Not meeting these requirements may result in preventing slabs from uploading and can lead to a loss of data.

    • A dual-core CPU

    • 16GB of RAM

    • An SSD with at least 128GB of free space.

To ensure proper functionality, we are recommending 16GB RAM. This is because renterd will keep full slabs in memory when uploading. A full slab is 120MB, and a single upload may hold two or three slabs in memory. However, it is possible to run renterd with less RAM than this, and it may work fine depending on the use case.


Installing renterd

Press windows key + R to open the run dialog. Type in powershell and press OK to open a Terminal.

Once the Terminal loads, run the following command to download and install the latest version of renterd.

wget https://sia.tech/downloads/latest/renterd_windows_amd64.zip -OutFile "$HOME\Downloads\renterd_windows_amd64.zip"; `
Expand-Archive "$HOME\Downloads\renterd_windows_amd64.zip" -DestinationPath "$HOME\sia\renterd"; `
Move-Item -Path "$HOME\sia\renterd\bin\renterd.exe" -Destination "$HOME\sia\renterd\renterd.exe" -Force; `
Remove-Item -LiteralPath "$HOME\sia\renterd\bin" -Recurse

When you paste multi-line commands into PowerShell, you will be prompted with a warning. Make sure you have copied the entire command and click Paste anyway to proceed.


Creating a wallet

renterd uses BIP-39 12-word recovery phrases. To generate a new wallet recovery phrase, run the following command:

cd $HOME\sia\renterd\; `
.\renterd.exe seed

A new 12-word recovery phrase will be generated. Make sure to store it in a safe place, as you will need this phrase to recover your wallet.


Configure your renterd.yml file

Under $HOME\sia\renterd\bin create a new text document named renterd.yml.

New-Item -Path "$HOME\sia\renterd" -Name "renterd.yml" -ItemType "file"; `
Start-Process "C:\WINDOWS\system32\notepad.exe" "$HOME\sia\renterd\renterd.yml"

Once Notepad loads, enter the following and configure it as needed.

seed: your seed phrase goes here
http:
  password: your_api_password
autopilot:
  heartbeat: 5m
s3:
  enabled: true
  disableAuth: false
  keypairsV4:
    your_access_key: your_private_key

Make sure to add your wallet seed and create an API password. The recovery phrase is the 12-word seed phrase you generated in the previous step. Type it carefully, with one space between each word, or copy it from the previous step. The password is used to unlock the renterd web UI; it should be something secure and easy to remember.

your_access_key can be anywhere from 16 to 128 characters long, and your_private_key must be exactly 40 characters long.

Save your renterd.yml configuration using ctrl+s and close Notepad.


Running renterd

Run the following command to start renterd.

cd $HOME\sia\renterd; `
.\renterd.exe

Remember to leave the PowerShell open while renterd is running. If you close the command prompt window, renterd will stop.

You can now access the Sia network using the renterd web UI by opening a browser and going to http://localhost:9980.

If you are running renterd on the Zen Testnet, you will need to access the web UI on port 9880 by going to http://localhost:9880.

Enter the API password you created in your renterd.yml to unlock the renterd web UI.

Congratulations, you have successfully set up renterd.


Updating

New versions of renterd are released regularly and contain bug fixes and performance improvements.

To update:

  1. Stop renterd if it is running. This can be accomplished by pressing ctrl+c in the PowerShell currently running renterd.

  2. Download and install the latest version of renterd.

wget https://sia.tech/downloads/latest/renterd_windows_amd64.zip -OutFile "$HOME\Downloads\renterd_windows_amd64.zip"; `
Expand-Archive "$HOME\Downloads\renterd_windows_amd64.zip" -DestinationPath "$HOME\sia\renterd"; `
Move-Item -Path "$HOME\sia\renterd\bin\renterd.exe" -Destination "$HOME\sia\renterd\renterd.exe" -Force; `
Remove-Item -LiteralPath "$HOME\sia\renterd\bin" -Recurse
  1. Restart the renterd system service.

cd $HOME\sia\renterd; `
.\renterd.exe

Congratulations, you have successfully updated your version of renterd!

Last updated