Build
Swarm provides a complete stack of essential base layer components for developers. Build and host dApps, NFT meta-data, and media files, all within a decentralised framework!
Bee
Bee is a peer-to-peer client that connects you with other peers all over the world to become part of the Swarm network, a global distributed P2P storage network that aims to store and distribute all of the world's data. Running a full Bee node gives you access to all the functionalities of Swarm.
1 The Execution client layer that scale super fast
2
--http ($STRM_HTTP)
3
--http.addr ($STRM_HTTP_ADDR)
4
--http.api ($STRM_HTTP_API)
5
--http.port ($STRM_HTTP_PORT)
6
--http.header ($STRM_HEADER)
7
--graphql ($STRM_GRAPHQL_VHOSTS)
8
--rpc.evmtimeout ($STRM_RPC_EVMTIMEOUT)
9
--rpc.allow-unprotected-txs ($STRM_RPC_ALLOW_UNPROTECTED_TXS)
9
--keystore ($STRM_KEYSTORE)
9
--networkid ($STRM_NETWORKID)
Bee-js
Bee-js is Bee’s complementary JavaScript library. It’s a powerful tool for building completely decentralised apps with just a few lines of code.
1 $ curl http://localhost:1633/chequebook/cashout/36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f23 {4 "peer": "36b7efd913ca4cf880b8eeac5093fa27b0825906c600685b6abdd6566e6cfe8f",5 "lastCashedCheque": {6 "beneficiary": "36b7efd913ca4cf880b8eeac5093fa27b0825906",7 "chequebook": "36b7efd913ca4cf880b8eeac5093fa27b0825906",8 "payout": "1000000000000000000"9 },10 "transactionHash": "0x780cb6a37d1946978087896e1e489c37e30fe3e329510fff8d97360f73529f5a",11 "result": {12 "recipient": "36b7efd913ca4cf880b8eeac5093fa27b0825906",13 "lastPayout": "1000000000000000000",14 "bounced": true15 },16 "uncashedAmount": "1000000000000000000"17}
Swarm-CLI
Swarm-CLI simplifies the process of node management and decentralised application development on the Swarm network by offering an intuitive and user-friendly command line interface which can be used for engaging with the Swarm ecosystem. This powerful tool enables effortless uploading and downloading of files, folders, and entire websites. Additionally, it streamlines the process of managing feeds and identities, and it makes node management a breeze.
1gramreal account keys --privatekey=0x000000000000000000000000000000000000000000000000000000000000000123Private key : 0x000000000000000000000000000000014Public key : 0x0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b83Engram Address  : 0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf
Bee API
The Bee API provides a powerful HTTP interface with a rich set of endpoints for interacting with the Swarm network. It offers a wide range of functionalities for managing node resources and obtaining operational metrics and insights which are vital for node operators and decentralised application developers.
1 import { Bee } from "@ethersphere/bee-js"23 const bee = new Bee("http://localhost:1633")45 // Be aware, this creates on-chain transactions that spend Eth and BZZ!6 const batchId = await bee.createPostageBatch(‘100’, 17)7 const uploadResult = await bee.uploadData(batchId, "Bee is awesome!")8 const data = await bee.downloadData(uploadResult.reference)910 console.log(data.text()) // prints ‘Bee is awesome!’
Layer2 tooling through ecosystem initiatives
Highlighted below are various ecosystem-driven projects designed to accelerate decentralised application development and foster data interoperability and sovereignty. The Swarm Foundation proudly supports these initiatives but does not guarantee their performance.
Currently, all projects are undergoing intensive development, and contributions are highly encouraged. Additionally, the Swarm Foundation offers [grants](https://my.ethswarm.org/grants) to support contributions to the projects listed.
fairOS - decentralise your app
fairOS transforms the way you interact with Swarm by offering a distributed file system and versatile database solutions, including key-value and document (multi-index) databases. By freeing up developers to focus on building their applications rather than worrying about the intricacies of Swarm, fairOS gives developers a significant head start on their projects.
Fairdrive - take back control of your data
Fairdrive is a decentralised alternative to services like Dropbox and Google Drive, powered by Swarm. It provides a user-friendly interface for decentralised applications (dApps) and personal data storage. Fairdrive empowers users to take control of their data and allows developers to leverage it to easily add decentralised storage to their dApps.
Fair data protocol - help foster interoperability
Swarm envisions a diverse future with multiple data stores catering to various needs. Fair Data Protocol (FDP) acts as the connecting link, facilitating interoperability. Presently, the project is in an active development phase, and community members are encouraged to participate by contributing to or proposing enhancements through [Fair data Improvement Proposals](https://github.com/fairDataSociety/FIPs).