Hot answers tagged

185 votes
Accepted

What is Swarm and what is it used for?

Both Swarm and Whisper are complementary technologies contributing to the vision of Ethereum as a "world computer". When imagining Ethereum as a metaphor for a shared computer, it should be noted that ...
user avatar
86 votes

What is the difference between Swarm and IPFS?

Both Peer to peer Data sharing network in which files are addressed by the hash of their content (Content-addressable) Decentralized file transfer systems Can be used to store the HTML, CSS and ...
user avatar
  • 15.2k
28 votes

What is the difference between Swarm and IPFS?

Adding to tayvano's answer, the main author of Swarm has written a detailed perspective. Here are some parts of his answers (edited for clarity): Similarities Swarm and IPFS both offer ...
user avatar
  • 78.3k
21 votes
Accepted

Question on the terms 'distributed' and 'decentralised'

Here's one illustration of distributed and decentralized systems: Distributed computing has a long history in computer science ("became its own branch of computer science in the late 1970s and ...
user avatar
  • 78.3k
16 votes

Question on the terms 'distributed' and 'decentralised'

While I mainly agree with eth's answer, I would like to spin up some confusion and since you are writing a paper, it's worth to mention that older literature is not consent on that determination of ...
user avatar
  • 31.4k
14 votes
Accepted

How can I store big files on the blockchain?

No, you will have to store your data somewhere else and store the hash of this data and its location in the blockchain. You should have enough space to store it but remember the shorter your data is ...
user avatar
14 votes

What are Storj and Sia and how different are they from Swarm and IPFS

I don't agree at all. Plus, @Meije is from Storj Team. IPFS and Swarm are not just an idea but the most advanced technologies/protocols in decentralised blockchain based storage. IPFS and Swarm are ...
user avatar
11 votes
Accepted

Are Whisper and Swarm still being developed?

whisper is part both the go and c++ clients. It is a fully functional implementation. swarm is being actively developed by the go-team. See the Devcon1 talk for the big picture. See the issues ...
user avatar
10 votes

What are some proposed ways of storing data in Ethereum?

It's basically the other way around. The Ethereum blockchain will store a hash that points to a file in either Swarm, IPFS or something similar. From a DApp point of view the following could happen ...
user avatar
  • 1,775
8 votes
Accepted

Access Swarm content from a smart contract

Such a feature (interpreted literally as access to content) is impossible for the same reason as random number generation, generic web access or system time: the VM has to be fully deterministic black ...
user avatar
7 votes

Are Whisper and Swarm still being developed?

Whisper is not receiving funding from the Ethereum Foundation but is still being developed on by developers in their spare time. A new version 5 is reaching its final stage soon. If you're interested ...
user avatar
  • 1,628
6 votes
Accepted

How to point a domain registered with ENS to swarm content?

You need to add '0x' to the beginning of the content hash in the setContent function. publicResolver.setContent(namehash('5.test'), '0xf1a669a425b378bd8034fe0df7fea098c8b932a6037b688764afda1e92a8db1e'...
user avatar
  • 529
6 votes
Accepted

How does the incentive system for Swarm work?

There are two main incentive systems within SWARM, Bandwidth Incentives, and Storage Incentives. Bandwidth incentives use the SWAP (Swarm Accounting Protocol). Basically each node keeps sets a ...
user avatar
  • 3,272
6 votes
Accepted

Is it possible to define a default index for directories hosted by swarm?

When you upload from the swarm console, you can give the default entry as the second argument like this: bzz.upload('/path/to/dir/', ,'index.htm') Similar functionality is being added to swarm up ...
user avatar
  • 529
6 votes

How to access files hosted on swarm?

Just to point out, you don't need the public gateway. When you have a swarm node running, you have your own gateway at http://localhost:8500/bzz:/. (I'd post this as a comment but stackexchange won't ...
user avatar
  • 529
5 votes

How to access files hosted on swarm?

UPDATE: swarm-guide at RTD http://swarm-guide.readthedocs.io/en/latest/usage.html (Work in progress, expect decent status by mid december 2017) but native to which level? so there three levels that ...
user avatar
5 votes

What is the difference between Swarm and IPFS?

I think the best summary is here: Differences tl;dr Subtle but important differences in both projects design will likely keep the two projects steady and separate on their own relative tracks. Since ...
user avatar
  • 189
5 votes

Truffle SWARM and IPFS Integration

Watch this demo to setup IPFS node https://www.youtube.com/watch?v=8CMxDNuuAiQ Once Node is setup and you are able to create files in your node and access it then follow these steps. Command to ...
user avatar
  • 1,744
4 votes

Are Whisper and Swarm still being developed?

Possible answer: It is not entirely clear where Swarm and Whisper fit into the development roadmap and when or if they will be delivered by the same developers that developed the EVM... Source
user avatar
  • 78.3k
4 votes

SWARM replication and partitioning

Replication and redundancy minimum nodecount to replicate each chunk is effectively achieved by the syncing protocol: the protocol ensures that each chunk when sent for storage is relayed all the ...
user avatar
4 votes
Accepted

How to run a swarm gateway?

The reddit post you link to is rather old. Why don't you try http://swarm-gateways.net now? We have a brand new cluster backing the gateway. It is true that it has been down a lot in the past, but ...
user avatar
  • 529
4 votes
Accepted

Run Swarm but don't store any data

So how can I prevent my server from eating up disk space? There is a JSON configuration file in your bzz directory. You can set the two relevant storage capacity options to a custom value. You find ...
user avatar
4 votes
Accepted

Does Swarm caches blocks like IPFS do?

In swarm "blocks" are called chunks. If you download a chunk, it will be stored on your machine. Later, when requested, it will be retrieved locally. Files are made up collections of chunks (...
user avatar
  • 675
3 votes

Is it possible to define a default index for directories hosted by swarm?

Just adding more explanation: Your website is sitting on a virtual host described by a manifest file. The manifest has entries associating paths to documents. Associating the empty path to a hash is ...
user avatar
3 votes

Question on the terms 'distributed' and 'decentralised'

coming back to this, I want to extend the answer by @eth and completely object the answer by @Afri referring to Baran (1962) as incomplete or missing the point for the modern applications like ...
user avatar
3 votes

How does one enable and use SWARM demon & Whisper messaging functionality provided by Geth 1.5?

To enable whisper just run Geth with the --shh Enable Whisper flag i.e. geth --shh To enable SWARM you need to Build Geth & Bzzd (Swarm Daemon) from source: go get -d github.com/ethereum/go-...
3 votes
Accepted

Is possible to transfer data between nodes using cpp-ethereum's whisper protocol?

No. Of course it's possible what you suggesting, but no, because you have a major mixup in terminology. For a peer 2 peer communication layer, have a look at devp2p. Here is the specification. For ...
user avatar
  • 31.4k
3 votes

Are Whisper and Swarm still being developed?

When I tested a couple of weeks ago, whisper works inside the geth client, in that messages can be sent, and that messages can be received using filters. When I tried using the web3 client, which ...
user avatar
  • 986
3 votes

Swarm can't resolve my domain from ENS: 'no contract code at given address'

You are missing a resolver. On the console, I get: > ens.resolver(namehash('5chdfgh.eth')) "0x0000000000000000000000000000000000000000" So you need to do: ens.setResolver(namehash('5chdfgh.eth'),...
user avatar
  • 529
3 votes

How to develop large applications on top of blockchain?

What is the recommended way to store media files in DApps? There is no recommended way. Most DApps do not deal with media but with value, security and problems that require cryptographic proofs or ...
user avatar
  • 1,228

Only top scored, non community-wiki answers of a minimum length are eligible