Ethereum Swarm
Published in

Ethereum Swarm

Swarm & Swarm testnet Package Available at the DAppStore

maintained by the community member MFW78

What is this?

What is the world computer?

  • Logic (standalone equivalent: Processor)
  • Storage (standalone equivalent: SSD / HDD)
  • Messaging (standalone equivalent: Modem, WiFi etc)

But wait, you said this software is difficult to use?

Let’s get started

Gnosis Chain ⛓️

  • Recommended: Install Nethermind (direct Dappnode install link); or
  • Use an external RPC (CAUTION: during upgrades of bee, or periods of heavy use, bee may easily consume all free RPC requests. If the RPC fails, bee will fail. For this reason, it’s strongly advised to run your own node - bonus in that it contributes to decentralisation ❤️🌐).

Swarm (bee) 🐝

  • Step 1: Browse to the package installer — Install Swarm (direct Dappnode install link). Click ‘Install’ to continue.
  • Swap RPC Endpoint (Gnosis Chain) — if you installed Nethermind and are running your own node, you can leave the default settings. Otherwise, if you use an external RPC endpoint, this is where you should set it.
  • ENS resolver RPC (Ethereum Mainnet) — As bee can resolve ENS (a special type of blockchain name), it requires an Ethereum mainnet RPC endpoint. Install links are available for a variety of clients, or you can use an Infura RPC endpoint, or alternatively leave it blank to disable the ENS resolver.
  • Initial chequebook deposit (xBZZ) — is the amount of xBZZ the bee node must have deposited to it’s address in order to deploy the chequebook (which is used to issue “cheques” when the node exchanges bandwidth). You MAY set this to 0, or you can alternatively purchase xBZZ (referred to as BZZ) on Cowswap 🐮or Honeyswap 🍯. Without any xBZZ, you will still be able to access the network at reduced rate, but will not be able to use full speed, or upload content.
  • Welcome message — some graffiti that you can admire at Swarm Scan or if you happen to be peering through the logs 👀
  • Full node mode — must be set to true or false. This determines whether or not bee will store data for the network. To bee a good citizen and share the love, leave this set to true. This will nominally consume up to 60GB of disk space.
  • Storage data mountpoint — for advanced users; recommended to leave at default.
Optional parameters (Screenshot 1/2)
Optional parameters (Screenshot 2/2)
  • Step 3: Agree to the disclaimer. Because this package is published by an entity other than Dappnode, you are required to explicitly agree to the ‘Unverified Package disclaimer’.
Agree to the ‘Unverified Package Disclaimer’
  • Step 4: Follow the ‘Getting started’ in order to have the bee node fully operational.
Follow the ‘Getting started’
  • Send to the node’s address on Gnosis Chain:
  • Approximately 0.1 xDAI which will be used by the node to pay for gas fees when deploying the chequebook and cashing any subsequent cheques received (or for initiating stamp purchases etc).
  • The amount of xBZZ specified in the ‘Initial Chequebook Deposit’ configuration option from Step 2.
Logs that contain the node’s Gnosis Chain address (referred to as ‘ethereum address’).
  • Step 6: Confirm the node is operational. You can do this by using the packaged Bee Dashboard (direct link) or you can access this through the “UI” link on the Swarm package ‘Info’ page.
  • If your node is working correctly, you should see something similar to the below screenshot:
Fully functional swarm dashboard.

Enjoy unstoppable content 🎉

Swarm testnet (for developers) 🔧

Testnet Installation

Testnet differences

  • Blockchain: The Swarm testnet operates on the Goerli blockchain. Follow the ‘Getting Started’ directions for funding testnet nodes.
  • NOTE: Goerli (execution layer) has merged with the Prater beacon chain (consensus layer). Therefore to run a local Goerli node, you will also need to run a Prater beacon chain node.
  • ENS: The BEE_RESOLVER_OPTIONS has been configured for the ENS deployment on Goerli (to keep in the spirit of ‘zero-cost’ testing). Therefore any ENS names that are registered on mainnet will not resolve on the testnet.
  • Ports: The ‘standard’ ports for the bee client software are offset by 100, ie:
  • BEE_API_ADDR: :1733
  • BEE_P2P_ADDR: :1734
  • BEE_DEBUG_API_ADDR: :1735

Level up your Swarm wizardry 🧙‍♂️

  1. Fork the dappnodepackage-swarm repository. In particular the boulder-pusher branch.
  2. Ensure that you have an appropriate build environment, including: npm, npx, build-essentials to your distribution, docker and docker-compose.
  3. Connect to your Dappnode using WiFi or VPN.
  4. In the cloned repository on the boulder-pusher branch:
  • Modify the package name in dappnode_package.json otherwise installation of this package on your Dappnode may override your existing production version.
  • WARNING: If you do not rename the package, and instead choose to override a production version of swarm.public.dappnode.eth or swarm-testnet.public.dappnode.eth, and you subsequently have auto-updates enabled, this may result in your custom package being overridden when new versions of the production packages are pushed.
  • Modify the bee Dockerfile as required to point to your dirty bee repository.

Show your love ❤️ Support Swarm Community Members!

Contributors (Pull Requests / Issues) 🔧

Donations 💰 Support MFW78

--

--

Swarm provides censorship resistant storage and communication infrastructure for a sovereign digital society

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Swarm Foundation

Swarm is a system of peer-to-peer networked nodes that create a decentralised storage. Website: https://www.ethswarm.org/