The backbone of the ScPrime network is its hosts, or Storage Providers. The whole idea of ScPrime and distributed cloud storage, is for people with spare hard drive space, to rent out this space to others in exchange for SCP. Becoming a ScPrime Storage Provider is a fun way to earn passive income while also helping to build the ScPrime network for it’s eventual full product release. This guide will help you get started on your Storage Provider journey!
Find current Storage Provider settings HERE.
Note: This guide will show you how to use the desktop UI to get your provider instance up and running. We HIGHLY recommend you use the command line to actually run your instance after you finish setting it up with the UI. The UI is inefficient as it consumes a large amoint of memory compared to the command line. At the bottom of this guide, there are instructions to use the command line for the day to day running of your provider instance. If you want to try and setup your provider instance using the CLI (command line interface), follow this link (coming soon)!
This article is a fairly basic guide to setting up a host. Being an ScPrime Storage Provider can be quite an in-depth undertaking. This guide is purely for someone who wants a quick and fast way of setting up a 1TB host (the minimum requirement) to support the ScPrime network and earn a little extra SCP on the side. If you would like to to ‘grow’ your host and increase your storage capacity beyond 1TB, it’s best to visit the ScPrime Discord’s ‘network’ channel for help. There is also plans for more advanced guides in the future.
Here are a few things you will be required to do to get started…
- Download and install the ScPrime UI Version or Command Line Version from https://scpri.me/. Learn how to properly install and setup the UI by reading this guide here.
- Ensure you have at least 999GB free space on your hard drives/external drives, etc.
- Know your hosting PC’s IP address and try and make sure it’s a static IP. While a dynamic IP address can work, any time you have to reboot the machine, it could change the address, causing issues with your host. You can work around this with a dynamic DNS address. To learn how to get a dynamic DNS address, please join the ScPrime Discord and visit the network channel.
- You need to make sure you have port forwarding open on port 4282 and 4283. How and where you do this depends on your ISP. For myself, I just had to log into my ISP provided router and open those ports for the IP address of my hosting PC. There are thousands of router models, so you may need to chat with your ISP or manufacturer if you cannot find the forwarding menu.
- Make sure your hosting PC is one you can leave on 24/7. While you can be offline for small periods of time for updates, being a storage provider requires some commitment because you are storing data that people need access to.
- Have enough ‘collateral’ to cover the costs to start hosting. A good/safe value for offering 1TB to the network with 12.5 SCP or so collateral, per TB per month, would be somewhere in the range between 300–500 SCP.
A note on collateral- Collateral is part of the exchange between a storage provider and a storage renter. Because of the decentralized nature of the network there has to be a mechanic in place to keep a ScPrime Storage Provider from just switching off their computer or faking the data. This mechanism is collateral. Collateral is put up to guarantee original data is stored and not tampered with.
Now let’s look at how we setup your host using the ScPrime UI!
If you followed the ‘Getting Started’ guide then your UI should be up and running. You know how to receive funds into your wallet, so make sure you have your collateral ready to go.
You will then want to go to the Host tab and click on the Add a folder button.
You will want to create a folder or folders on the drive you plan to store on. For ease, I created a folder called ‘SCP’ then clicked on Select Folder. If you have a larger drive (multiple terabytes), it’s a good idea to split this drive into a few smaller folders. For examples, if you have a 4TB drive, consider making 2x 2TB folders or if you have an 8TB drive, 4x 2 TB folders, etc. It’s also very important to leave at least 40 to 50 GB of drive’s total capacity free to prevent any file corruption.
The minimum recommended amount of storage you should offer is 999GB. Storing at least this much, as this guide suggests, allows you to earn incentives to host, along with your rent (sign up for incentives here). So slide the bar in the screenshot above to at least 999 GB then click OK.
You will then see your Host Settings appear on the Hosting tab. The above is the default settings. These should changed to be within ScPrime’s guidelines if you want to qualify for incentives, but more on that later.
A note on hosting guidelines- The project has created guidelines for storage providers to follow so that new hosts will be able to compete with more established hosts on the network for storage contracts. The goal of the project is to grow at this stage, so it’s important that storage providers work together. These guidelines allows this to happen and those that follow them are rewarded with incentives on top of their rent.
Now let’s take a closer look at Host Settings;
Max Duration- This is fairly straight forward. It’s the maximum amount of time in weeks you want to allow a smart contract with a renter to last. You can set this to what you like. 13 is a good number to set it at. Speaking further about contracts, on the ScPrime network, these contracts are smart contracts. They are validated on the blockchain, and are the reason two unknown parties can transact with each other, like ScPrime hosts and renters do.
Collateral Per TB/Month- As previously mentioned, this is the amount of collateral you will put up per month, per terabyte in collateral. The higher the collateral, the more appealing your host might be to a renter as you stand to lose more if your host fails to complete the contract. It’s recommended to set your collateral between 1x and 1.25x what you are charging for storage. Based on current recommendations of storage between 10 SCP and 20 SCP, collateral should be set at (if using 10 SCP pricing x 1.25) 12.5 SCP.
Storage Per TB/Month- This is what you are charging per terabyte per month for storage. 10 to 20 SCP is currently the set amount allowed if you want to qualify for incentives. You are not limited in how much you can charge, but the software scores each storage provider on things like price, and you might find you are not receiving as much data if you set the prices too high.
Download Per TB- This is another ‘fee’ you can charge depending on your ISP. Download as a host is actually your ‘upload’ in terms of your ISP. If a renter downloads some of his data from your host, you will be ‘uploading’ it to him. Many internet plans commonly have upload limits, so if that is the case with your ISP, you may want to play around with this value.
Upload Per TB- Similar to above, but this is really you ‘downloading’ in terms of your ISP. Most internet plans have high or unlimited download options, so this might be one you can charge very little for.
A note on upload/download charges- While in theory, charging 0 SCP for upload and download would make your host more attractive for renters, there may be an issue currently that prevents storage if you do this. It is recommended to set your provider to at least 1 SCP for upload and download charges. Explore https://stats.scpri.me/storage-network-status to see how varied this pricing can be between Storage Providers. Some charge 1 SCP while others might charge 40 SCP.
Above is my final settings for this guide. I went with 13 week max contracts. I changed my pricing to 10 SCP per TB/Mo and then changed my collateral to 12.5 SCP (1.25x pricing). My internet plan has a very high limit on uploads and downloads so I set those both to 1. Once I changed my settings I pressed the Update button. We are almost ready to go online!
To ‘announce’ that our host is ready to accept contracts, we have to access the terminal. Click on the Terminal button as shown above.
Once in the terminal type spc host announce and hit Enter.
You will then see the message above that your host has been configured to accept contracts. Hit OK to close out of the Terminal.
And just like that our host is online! In less then a few minutes we actually already picked up 1 contract. With time, that number should rise as more renters find your host!
Command Line (for UI users)
Whether your provider instance was setup using the UI or CLI, it’s a good idea to use the command line to actually run it on a daily basis. You can run your host through the UI as shown above, but it’s not optimal. The UI can lock up, crash and eat up system resources. Let’s take a look at this simple way to keep your provider lean and mean!
If you did use the UI to get set up, you will want to close your UI now. Make sure the ScPrime UI function is no longer running in your taskbar or in your system processes. It is not enough to simply close out of the UI as you might be able to do in other programs. Once that is done, you will want to open a command line/prompt.
You will want to navigate to the folder on your PC where spd.exe and spc.exe reside. The above path is where they are located on my test host PC. You may have to use the search function on your operating system to find the proper path.
Now type in spd.exe -d c:\users\[username]\appdata\local\scprime -M gctwh into your command line. Please note that this is the setup on my Windows 10 test host PC. Once you run the spd.exe as above, the daemon will will start up. The reason for adding the ‘-M gctwh’ to the command is to only load the hosting module.
Your ScPrime daemon is now up and running. Next we have to unlock your wallet so the daemon has access to SCP for collateral.
You will want to open a new command line/prompt screen and navigate back to the folder where you launched the daemon (spd.exe) from. This time, you will type in spc.exe wallet unlock as shown above.
You will be prompted for a password, which will either be your wallet seed or whatever you changed it to in the UI. Please note that no ‘characters’ will be displayed at all when you enter your password. You will only be notified if the password was incorrect. Otherwise it will return to prompt once entered.
Your provider/host is now up and running using just the command line. You will want to follow some of the links below to make sure it’s online. Nate’s Troubleshooter would be a good place to start as well as checking the network status list after it updates. Check out the Uptime Robot guide linked below to monitor your provider. And of course, visit the ScPrime Discord’s network channel with any questions!
Lastly, be sure to sign up for host incentives here. You will need to give your Discord name, URL to your announced host and the SCP wallet you want your incentives paid to.
https://scpri.me/software/- download the ScPrime UI/wallet.
https://discord.gg/yprex7BSRg - ScPrime Discord group. Where most of the ScPrime community gathers.
https://troubleshoot.siacentral.com/- Sia Central troubleshooter. Select ScPrime from the Network drop down menu and enter your host IP and port to get the status of your host and helpful trouble shooting for any issues you may be having.
https://stats.scpri.me/storage-network-status - this site will show all ScPrime hosts. Find your host in the list to see its stats as well as its score.
https://www.ipfingerprints.com/portscan.php- if you are having trouble with getting your host online, it’s a good idea to make sure your 4282 port is open. Enter your host IP address as well as port 4282 in the port fields to check to make sure it’s open.
https://scprimeguides.medium.com/uptime-robot-guide-for-scprime-storage-providers-890427b83f50 - this guide will help you setup a free account on Uptime Robot. It’s a handy tool that will alert you if your host goes down.
As always, feel free to visit the network channel in the ScPrime Discord if you have any questions or require assistance with setting up your host. Someone will be happy to help!