If you like me, and you have a lot of free disk space then it is a good idea to make money by farming it. Farming is the term we are going to use when you are renting your free space to others. Currently, for some happy reasons, I have 7 TB I can rent. In this article, I will show how to rent your space. Once you get your SIA Coins (SC), it is up to you to trade them.
The first thing you need to do is to install the SIA software. At the moment of writing this article, the latest SIA available was 1.0.3. You can check this information in the SIA Github Project page. To install the software, you can type the following commands:
mkdir ~/sia
cd ~/sia
go get -u github.com/NebulousLabs/Sia/...
If all goes for good, you will have a bin directory with to files: siac (the SIA client) and siad (the SIA daemon).
SIA Daemon (siad) is very easy to configure. You just need a directory where to put all information (not the space you are planning to lease). I did the following:
mkdir /var/lib/sia
cd ~sia/bin
./siad -d /var/lib/sia/
If this is your first time, go to eat. The SIA daemon will start syncing the blockchain. If you want to check if the sync is done, execute SIA client (siac) without parameters. You will see a line that says Synced: Yes/No, and an approximation of the remaining time to complete.
If you want to farm, you must have a valid wallet. At the early beginning, I was thinking that using an address provided by Poloniex was enough. But it is not, the software needs the ability to manipulate the wallet more than doing transfers. Type the following:
cd ~sia/bin
./siac wallet init
The SIA client will output two very important values: sia seed and sia password. Save them, you will need them for almost anything. The next step is to know what is your SIA wallet address. Type the following:
./siac wallet unlock
./siac wallet address
Take note of your new address.
I will cover here how I did. My first step is to tell the SIA daemon where I will store the space for lease. In my very specific case, I have two hard disks, one mounted at /mnt/2T and the other at /mnt/5T. I have created a sia.storage directory in each other.
./siac host folder add /mnt/2T/sia.storage/ 2000GB
./siac host folder add /mnt/5T/sia.storage/ 5000GB
You will get a message telling SIA folder has been added. The next step is to configure the price. First some concepts:
As this is a market bid, the best next question is what values should I use. The SIA FAQ says that use a lower price of 100 SC per GB.
I will do some quick numbers. Please note that for me 1 month equals to 30 days, 8 bits equals 1 byte, 1024 MB equals 1 GB and 1024 GB equals 1 TB.
Well, I have 7 TB of Disk (7000 GB). I paid in a total of 250 CADs for those drives, that is approximately 200 USD (I am rounding numbers). Therefore:
7000 GB / 200 USD = 35 GB / USD, which it means 0.0285714285714 USD / GB if we want to get paid this drives on the first month (We are very optimistic and we hope all the space gets rented right away). According to Polionex (November 4th, 2016), 1 SC worths 0.00000051 BTC and 1 BTC = 702.45174945 USD. It is not a direct conversion, but then we have 0.0285714285714 USD / GB * 0.00000051 SC / BTC * 702.45174945 BTC / USD = 0,00001023572549199 SC / GB. But we need SC / TB, so we are missing one operation 0.00001023572549199 SC / GB * 1024 GB / TB = 0.1048138290379 SC / TB. This is the minimum price I can sell 1 TB of my storage, then 100 SC per GB is more than good for me. I will keep it low to get more contracts, let's go for 90 SC per GB. Then my command is:
./siac host config minstorageprice 92150SC
I currently have an unlimited plan 20 Mbps downstream, 10 Mbps upstream ADSL line, I'm currently paying 64.40 CADs per month, that is approximately 48 USD. So, as this is unlimited bandwidth (means I don't have a monthly quota) there is always a limit of how many Terabytes I can download or upload. First I will do numbers for my download stream of 20 Mbps. 20 Megabits / second * 1 / 8388608 TB / Megabit * 2592000 seconds / month = 6.17980957 TB / month for the 20 Mbps downstream link, and of course the half 3.08990479 TB / month for the 10 Mbps upstream link. As two-thirds of my bandwidth is used for downstream, it is safe to do the following 32 USD / month / 6.17980957 TB / month = 5.17815309 USD / TB. I won't do the maths for the 10 Mbps, but as numbers are proportional, the price is the same. I will let you do the maths if you want. And then we convert that price to SC by doing 5.17815309 USD / TB * 0.00000051 SC / BTC * 702.45174945 BTC / USD = 0.0018550753754 SC / TB.
So, it is more than safe to say I can bill 1 SC per TB. Then my commands are:
./siac host config mindownloadbandwidthprice 1SC
./siac host config minuploadbandwidthprice 1SC
I haven't found any rule that says that placing more collateral price will get you more contracts. So, for now, let's play with defaults.
The FAQ says that defaults are good, by default I have:
So, if you want to change then my commands are:
./siac host config collateral 7000SC
./siac host config maxcollateral 21000SC
./siac host config collateralbudget 700000SC
The SIA FAQ states that there is a minimum of 12 weeks. Then this decision is more on how often you turn off your computer. I usually turn it off every 6 months (24 weeks). The default is 25 weeks. My command is then:
./siac host config maxduration 24
I think that's it. I will play with the values to see whats the optimum to get more revenue.
Just type:
./siac host announce
Good Luck!
blog comments powered by DisqusMost Read Posts in Technology
About
Read about IT, Migration, Business, Money, Marketing and other subjects.
Some subjects: FusionPBX, FreeSWITCH, Linux, Security, Canada, Cryptocurrency, Trading.