Sia [http://siacoin.com] is one of those projects that few people know about. It's like a decentralized version of Dropbox or Google Drive, but with alot more potential too. Say if you have spare drive space you are not using, you can sell it to someone who wants to store their files. All the files are automatically encrypted and distributed through the network for privacy, and the cool thing about the project is that it's available to use today! I spoke with one of the projects cofounders Luke Champine to find out more.
[N-] What was the impetus for starting Sia? Is there a meaning behind the name Sia?
[LC] My cofounder, David, dreamed it up two years ago. Like a lot of people in the crypto space, he was both terribly excited by Bitcoin, and certain that it could be improved upon. He observed that bitcoins do not have any inherent value, and as a result the exchange rate has fluctuated wildly. A cryptocurrency backed by a physical resources, like storage, would never be worth less than the storage it could buy. He began drafting a technical whitepaper describing a federated network using proof-of-storage as a consensus mechanism. Initially it was called “Nimbus,” then “Bytecoin” (a name shared by a dozen other altcoins…) before he found “Sia” while searching through lists of deities. Sia is the Egyptian deification of wisdom, and his hieroglyph was used to represent knowledge or perception. Sia also happens to be the name of an Australian musician, who released a new album to critical acclaim just a few months after we announced our project. At the time we were horrified, but in retrospect I just laugh at how poor our timing was.
[N-] What kind of usage have you seen since your launch?
[LC] The mining community comprised most of our initial user base, as we expected. Within 3 hours of launching, we observed a network hash rate of 15 GH/s, and it grew steadily from there. (It's currently sitting around 200 GH/s.) Multiple members of the community have contributed to our open-source GPU miner, optimizing its hash rate, improving its stability, and suggesting changes to our mining API. We are also aware of at least one nascent ASIC miner, though I don't believe it's active on the network yet.
Of course, while Sia could not exist without mining, our true focus is storage. With the network so young, and the value of siacoins rising, it seems people are a bit hesitant to store much data on Sia yet. To address this, we slashed the default storage price, and saw a moderate increase in usage. There are around 1200 file contracts active on the network, comprising 33.34 GB of data. From what I can tell, most of the storage is simply being used to test out the platform. We've seen people use it to share memes, inspirational videos, and more. Personally, I like to store Sia on Sia. :P As the network grows in size and stability, we hope to see more people using Sia as a legitimate backup solution or filesharing platform.
[N-] Yeah, the chicken and egg problem must be a challenge. So speaking of file contracts, can you explain to the readers how Sia works? What do people need to do to store files or sell their drive space?
[LC] Storage on Sia is enabled through the use of file contracts. When you want to upload a file, you first negotiate a file contract with a host, and then transmit the file contents to them. Among other things, the file contract specifies how long the file will be stored and how much the host will be paid. It also mandates that a host must submit a storage proof to the network at a specified time. This constitutes a cryptographic proof that the host still has the file at the end of the contract duration. If the host submits a valid proof, they receive payment; otherwise they are penalized (they forfeit a “security deposit”).
Hosts can advertise themselves by announcing their IP address on the blockchain. Renters will then probe these IP addresses to learn what contract terms a host is willing to agree to. They use this information to build a database of potential hosts, which lets them select only the most attractive (e.g. cheapest) hosts.
Of course, to the average user, this process is invisible. To store a file, just click the “Upload File” button. To become a host, just enter your desired contract settings and hit “Announce.” The software will take care of the rest.[N-] Are there any ways Sia's functionality could be extended? For example, could it be used as a storage system for websites?
[LC] Our vision for Sia has always been lower-level than apps like Dropbox or Google Drive. We'd like to see it used interchangeably with physical hard drives. Big websites aren't storing their content on a cloud storage app, they're using Amazon S3 or a private datacenter. So we aim to be a viable alternative for those sites, offering cheap bulk storage with built-in redundancy, speed, and security.
Of course, the cryptographic and economic aspects of Sia make it possible to do much more than that. The key is to make files as easily-accessible as possible, and we're tackling that in a few different ways. Will we see a future where you can type sia://[hash] into your browser and get back a website? Probably not. But it's not at all far-fetched to imagine Sia-based versions of Vimeo, Spotify and MEGA. Ultimately, Sia's eventual role in storage will be determined by its users, not us.
[N-] How does Sia compare with its main competitor Storj.io?
[LC] We've talked to Storj's creator, Shawn Wilkinson, a number of times, as well as IPFS and Ethereum. I think there's a shared understanding that while in practice we are competitors, in principle we are all working towards a common ideal, and at the end of the day we all want the best technology to win.
Our primary advantage over Storj and others is that we work, right now. You can download Sia today and start storing files on it or earning siacoins as a host. In other words, we aren't vaporware, and that earns us a lot of favor in the cryptocurrency space, where users are tired of hearing empty promises.
From a technical standpoint, Sia and Storj are fairly similar. Both use a blockchain to store file metadata, Merkle trees to calculate storage proofs, and erasure codes to prevent data loss. I would say that in a broad sense, the difference is that the Sia is more “hands-off” than Storj; many features of Storj, such as automatic file repair, reputation systems, uptime monitoring, etc. are not built into Sia by default, but rather left to the user. We feel that there is a real risk of over-architecting a protocol and consequently limiting the user's freedom. But we acknowledge that a certain set of features *must* be mandated in a protocol in order to guarantee an acceptable quality of service for all users. It's tough to know where to draw the line.
I will say that Storj has excelled in marketing their product and building a user base. Our approach has been to remain in “stealth mode” until we have something that works. We are programmers, not designers, so our branding is nothing flashy. Now that we've launched Sia, we can devote some time to making it look nice and getting the word out. :)
[LC] Right now, our goals are similar to those of the Tox project: we do not guarantee anonymity, only privacy. Specifically, all files are automatically encrypted, but network traffic is not obfuscated or anonymized. So by snooping on the network, you can learn things like “this IP address announced itself as a host”, or “this IP address uploaded data to that IP address, and downloaded it two days later,” or “this IP address was the first to broadcast this transaction.” Full anonymity would be a nice thing to have, but at present it is not a priority for Sia. We are much more concerned with keeping your data private, and because we're targeting a more specific use-case than, e.g. Bitcoin, we feel that this focus is appropriate. If you want to hide your IP address, it's probably feasible to route Sia traffic through Tor. I don't know that anyone has tried yet though.
For the crypto-nerds, our current encryption scheme is Twofish as a stream cipher in OFB mode. The IV is always empty, but keys are never reused. While we are confident in the security of this scheme, we are open to suggestions as to how it could be improved. You are, of course, free to encrypt your data with whatever scheme you see fit before uploading to Sia.
[N-] Good point. What was the thinking behind using Siacoin instead of the most widely used cryptocurrency, Bitcoin?
[LC] Originally, Sia was conceived as a radical departure from Bitcoin's consensus model. We intended to use proof-of-storage as our consensus mechanism, without requiring a blockchain or traditional mining at all. But after a good deal of theoretical work and prototyping, we decided that the model had inescapable security vulnerabilities, and we were forced to scrap everything and start over. What we wound up with is very close to Bitcoin; essentially “Bitcoin plus file contracts.” The nice thing about Bitcoin is that it has proven that the blockchain works. If you deviate too far from that model, you're standing on shaky ground, and you have to work that much harder to prove that your platform is secure. That's a pattern we're seeing with just about every proposed "Bitcoin 2.0."
But back to the original question: Bitcoin isn't perfect, any of its coredevs can tell you that. It carries some historical baggage; some off-by-one errors and weird protocol rules that can't be altered without hardforking the network. Furthermore, it would not be a trivial task to store our file contracts in the Bitcoin blockchain. We considered making Sia a sidechain, but the technology wasn't mature enough at the time to seriously pursue it. Starting from scratch allowed us to learn from the mistakes of Bitcoin and create a protocol specifically tailored to our purposes. Besides, once we're on an exchange, it will be trivial to convert bitcoins to siacoins as needed.
[N-] Besides mining, how do people get their own Siacoins? It would be cool to see it on something like ShapeShift.io for instant conversion.
[LC] We hope to have siacoins available on exchanges soon. There are a few tweaks we need to make to our software to enable this, so that's a high priority right now. There are also a few ad-hoc trading threads on forums, IRC, and Slack.
[N-] Sia seems like a VC-friendly type of product. Would you remain open-source if you took funding?
[LC] In fact, we secured a seed investment about a year ago. Now that we've launched, we're gearing up for a Series A round, which will allow us to expand our team.
Fortunately, this isn't the 90s, and today's tech-savvy investors understand that you can build a profitable business around open-source software. We are immeasurably indebted to the open-source community, and we never considered making Sia closed-source. (Any closed-source cryptosystem would be laughed off the Internet anyway.) Perhaps in the future we may build closed-source services on top of Sia, but the core protocol will always remain open-source.
[N-] I see what you're saying, but I think users often willingly overlook closed source solutions if they're are easy to use. I've seen it recently with the various crypto tools coming in the wake of the Snowden revelations. The same could be said about BitTorrent. Even though the protocol is open source, if I remember rightly, their client software is not, so you never know if there's other funky stuff happening on your system.
[LC] Historically, I think the biggest problem with open-source was that it was restricted to a relatively small community of fellow hackers, who tended not to care about ease-of-use or flashy visual interfaces. It's no secret that many open-source alternatives are eyesores; just compare Photoshop to GIMP, or Word to LibreOffice. But I think that the gap has narrowed significantly in recent years. Open-source projects are realizing that good design is not incidental, but actually essential. That's certainly a lesson we've taken to heart. I'll note that Sia has received a number of comments on how its interface is both sleeker and easier to use than Bitcoin's. :)
[N-] Cool man, well I think this wraps things up! Thanks to Luke for taking the time, and good luck with Sia. I think this if one to keep an eye on! This If you want to learn more about the project, check out Siacoin.com