百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

swarm-dapps

> 编程语言
开源

Swarm 示例

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Swarm 示例

Swarm Đapp Examples

In this repository, you find the source code for distributed applications (so-called đapps), the primary purpose of which is to demonstrate the use of Swarm's API and the most useful patterns of developing such applications.

examples/album

A photo album dapp with a set of public-domain photographs that lets users upload their own photos. The code is based on fgallery version 1.7. All chenges in the gallery are accompanied by a change in the root hash of the album. Sharing or registering the root hash corresponds to sharing and/or publishing a particular state of the photo album. This is an example of non-interactive content dissemination, with no feedback from the audience.

examples/filemanager

This is a GUI explorer for file collections hosted on swarm. An example of a tool for working on file collections other than itself. The root hash of the explorer remains the same (or changes with upgrades); the root hash of the explored collection is appended as a fragment to the URI. Of course, it can be used to explore itself.

examples/ens-updater

This is a GUI tool for updating ENS domain with SWARM hash.

examples/bzzhandler.html

This html installs http protocol handlers for bzz, bzzi and bzzr protocols.

You can either upload each example into Swarm and run it from there or run a proxy server (see below)

Running via proxy server

bash
npm install live-server

Now run ./start-proxy . For example, to run the filemanager:

bash
./start-proxy ./examples/filemanager

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言