5.75 KB
Newer Older
Luke Champine's avatar
Luke Champine committed
# [![Sia Logo](]( v1.3.0 (Capricorn)
David Vorick's avatar
David Vorick committed

[![Build Status](](
David Vorick's avatar
David Vorick committed
Luke Champine's avatar
Luke Champine committed
[![Go Report Card](](

7 8 9 10 11 12 13 14 15
Sia is a new decentralized cloud storage platform that radically alters the
landscape of cloud storage. By leveraging smart contracts, client-side
encryption, and sophisticated redundancy (via Reed-Solomon codes), Sia allows
users to safely store their data with hosts that they do not know or trust.
The result is a cloud storage marketplace where hosts compete to offer the
best service at the lowest price. And since there is no barrier to entry for
hosts, anyone with spare storage capacity can join the network and start
making money.

Luke Champine's avatar
Luke Champine committed
16 17

18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
Traditional cloud storage has a number of shortcomings. Users are limited to a
few big-name offerings: Google, Microsoft, Amazon. These companies have little
incentive to encrypt your data or make it easy to switch services later. Their
code is closed-source, and they can lock you out of your account at any time.

We believe that users should own their data. Sia achieves this by replacing
the traditional monolithic cloud storage provider with a blockchain and a
swarm of hosts, each of which stores an encrypted fragment of your data. Since
the fragments are redundant, no single host can hold your data hostage: if
they jack up their price or go offline, you can simply download from a
different host. In other words, trust is removed from the equation, and
switching to a different host is painless. Stripped of these unfair
advantages, hosts must compete solely on the quality and price of the storage
they provide.

Sia can serve as a replacement for personal backups, bulk archiving, content
distribution, and more. For developers, Sia is a low-cost alternative to
Amazon S3. Storage on Sia is a full order of magnitude cheaper than on S3,
with comparable bandwidth, latency, and durability. Sia works best for static
content, especially media like videos, music, and photos.

Distributing data across many hosts automatically confers several advantages.
The most obvious is that, just like BitTorrent, uploads and downloads are
highly parallel. Given enough hosts, Sia can saturate your bandwidth. Another
advantage is that your data is spread across a wide geographic area, reducing
latency and safeguarding your data against a range of attacks.

It is important to note that users have full control over which hosts they
use. You can tailor your host set for minimum latency, lowest price, widest
geographic coverage, or even a strict whitelist of IP addresses or public

At the core of Sia is a blockchain that closely resembles Bitcoin.
Transactions are conducted in Siacoin, a cryptocurrency. The blockchain is
what allows Sia to enforce its smart contracts without relying on centralized
authority. To acquire siacoins, use an exchange such as [Poloniex](, [Yunbi](, or

To get started with Sia, check out the guides below:

David Vorick's avatar
David Vorick committed
58 59 60
- [How to Store Data on Sia](
- [How to Become a Sia Host](
- [Using the Sia API](
David Vorick's avatar
David Vorick committed


63 64

66 67 68
Sia is ready for use with small sums of money and non-critical files, but
until the network has a more proven track record, we advise against using it
as a sole means of storing important data.
David Vorick's avatar
David Vorick committed

Luke Champine's avatar
Luke Champine committed
This release comes with 2 binaries, siad and siac. siad is a background
71 72 73 74 75
service, or "daemon," that runs the Sia protocol and exposes an HTTP API on
port 9980. siac is a command-line client that can be used to interact with
siad in a user-friendly way. There is also a graphical client, [Sia-UI](, which
is the preferred way of using Sia for most users. For interested developers,
the siad API is documented [here](doc/
Luke Champine's avatar
Luke Champine committed

Luke Champine's avatar
Luke Champine committed
77 78
siad and siac are run via command prompt. On Windows, you can just double-
click siad.exe if you don't need to specify any command-line arguments.
79 80 81 82 83 84 85
Otherwise, navigate to its containing folder and click File->Open command
prompt. Then, start the siad service by entering `siad` and pressing Enter.
The command prompt may appear to freeze; this means siad is waiting for
requests. Windows users may see a warning from the Windows Firewall; be sure
to check both boxes ("Private networks" and "Public networks") and click
"Allow access." You can now run `siac` (in a separate command prompt) or Sia-
UI to interact with siad. From here, you can send money, upload and download
Luke Champine's avatar
Luke Champine committed
86 87
files, and advertise yourself as a host.

88 89 90
Building From Source

poiuty's avatar
poiuty committed
To build from source, [Go 1.8 must be installed](
Luke Champine's avatar
Luke Champine committed
on the system. Then simply use `go get`:
93 94

Luke Champine's avatar
Luke Champine committed
go get -u
96 97

Luke Champine's avatar
Luke Champine committed
98 99
This will download the Sia repo to your `$GOPATH/src` folder, and install the
`siad` and `siac` binaries in your `$GOPATH/bin` folder.

Luke Champine's avatar
Luke Champine committed
101 102 103 104 105 106 107
To stay up-to-date, run the previous `go get` command again. Alternatively, you
can use the Makefile provided in this repo. Run `git pull origin master` to
pull the latest changes, and `make release-std` to build the new binaries. You
can also run `make test` and `make test-long` to run the short and full test
suites, respectively. Finally, `make cover` will generate code coverage reports
for each package; they are stored in the `cover` folder and can be viewed in
your browser.