Hot answers tagged

178

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 computation alone is not enough. For a computer to be fully useful, it also needs storage to "remember" things and bandwidth to "communicate" them. This could ...


6

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 using swarm --index-file index.htm up --recursive /path/to/dir and will be extended to allow for multiple directories. See this github issue for more: https:/...


6

You need to add '0x' to the beginning of the content hash in the setContent function. publicResolver.setContent(namehash('5.test'), '0xf1a669a425b378bd8034fe0df7fea098c8b932a6037b688764afda1e92a8db1e', {from: eth.accounts[0], gas: 100000})


5

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 let me. Apologies.)


5

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 support the bzz family of uri schemes there is mist with builtin support or in your normal browser https://github.com/ethereum/go-ethereum/blob/swarm/swarm/...


5

There are several ways you can run Ethereum: PyEthApp Python version GoEthereum Go Version (Probably the most popular) EthereumJ Java version Web3 umbrella C++ version All of the above are developed under the Ethereum project an have detailed installation instructions. So I think it really depends on what you want/need. If you're trying to get a sense of ...


3

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 totally legit manifest entry. A manifest can also be thought of as list of paths on a filesystem, say the recursive contents of a directory. This equivalence ...


3

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 actual data/file transfer have a look at swarm, the peer 2 peer file hosting protocol. (See also.) Whisper is a peer 2 peer encrypted messanging protocol, ...


3

Technically it is pretty possible. On the other hand to keep your money on platform like Digital Ocean doesn`t look as a good practice. Platforms with a strong identity management like AWS, Azure, Google Cloud are more preferable.


2

The whole purpose of DApps is that you don't need to setup a back-end for them, since the Blockchain acts as a common back-end shared across all DApps. Most of the time, a simple static HTML/JS/CSS front-end application will be sufficient for DApp projects. For my DApp projects, I make heavy use of AWS S3 to store the front-end single page applications from ...


1

Minimum hardware requirements (for initial sync): 4 CPU, 8 GB RAM, 100 GB disk Minimum hardware requirements (for normal operations): 2 CPU, 4 GB RAM, 200 GB disk Hosting a website and creating ethereum node on the same server is NOT a good idea. One will be affected by another. When your webserver gets overloaded, you'll have issues syncing the node. When ...


1

If traffic isn't that concerned, you may want to look into my current setup. My current setup is as follow, - centos - AWS Instance Type: t2.large: 2 vCPUs, 8GB RAM - Disk: 80GB (50 GB currently used, expected to grow over time). I am running Parity with the flag --warp synced, this will keep only the latest 64 states by default. however, its expected to ...


1

If you plan on running a full client on a VPS from digital ocean you can access it using ssh and just copy the client and/or files such as accounts and contracts: $ scp -r directoryWithEthClientAndFiles/ VPSHostName@xx.xx.xx.xx:/path/to/remote/directory $ ssh VPSHostName@xx.xx.xx.xx # Enter password if user/pass authentication is enabled $ cd /path/to/...


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