• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

almonit/almonit-plugin: ENS+IPFS Firefox plugin by Almonit

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

almonit/almonit-plugin

开源软件地址:

https://github.com/almonit/almonit-plugin

开源编程语言:

JavaScript 82.4%

开源软件介绍:

Almonit plugin

A Dwebsites (decentralized websites) browser extension by Almonit

Description

Almonit is a browser extension for Dwebsites.

Traditional websites use a server and a name service (DNS) to be accessible. Decentralized websites replace the server with a decentralized storage, and the name service with a decentralized name service.

Almonit browser extension let users access Dwebsites through the browser. The extension focuses on IPFS and Skynet as a decentralized storage, and ENS as a decentralized name service.

For more information read our introduction to Dwebsites article. The how it works section in this README gives a more technical description.

Installation

From source code

Compile

Make sure you have nvm installed with node v10.14.2 available. Then enter the following commands.

nvm use v10.14.2
cd js/web3-wrapper
npm install
npm run build

Firefox installation (after compilation)

In Firefox, enter about:debugging.

Choose Load Temporary Add-on...

From the folder of the plugin, choose manifest.json

Chrome installation (after compilation)

See instructions here.

Installation from extension store

Usage

Navigate to ENS+IPFS and ENS+Skynet websites such as:

See full list in the Almonit Search Engine.

How it works

The core functionality of the plugin is to forward .eth addresses to IPFS or Skynet addresses (depends on what the owner of the .eth address set). It works as follows.

  • When an .eth address is entered in the address bar, the plugin uses webRequest and webRequestBlocking to block the request, and process it itself.
  • The plugin uses web3.js the check the ENS record in Ethereum blockchain. At the moment,t he plugin checks in two main ENS resolvers: the default one and an older ersion (for legacy).
  • The plugin processes the content of the ENS record that web3.js returns, and checks if it has an IPFS contenthash, or a 'skynet' key.
  • If the content is an IPFS address, the plugin redirects the browser to the IPFS page. If there a 'skynet' key, it redirects to to a Skynet page. If the .eth name has both set, then the IPFS page will be chosen.
  • By default, the redirection is to a random IPFS or Skynet gateway (we call it, decentralization via randomization). In the settings users can modify the IPFS gateways list, force a specific gateway, or choose to use their own local IPFS node.

The plugin contains some extra features, such as a popup window that helps the user discover decentralized websites. See #features for full details.

Features

  • Plugin popup: helps you explore ENS+IPFS websites
  • Decentralization via randomality: the plugin chooses each time a random IPFS and Skynet gateways (that's a way of avoiding everyone using the same gateway all the time, and hence indirectly cause centralization).
  • Settings page offers (almost) full customization.
  • Anonymous update of IPFS and Skynet gatewys list. The update is being done via update.extension.almonit.eth. This way users get updates in an anonymous way without directly communicating with us.

Contact

Write us at [email protected] or via our Twitter.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
ipfs/js-ipfs-http-response: Creates an HTTP response from an IPFS Hash发布时间:2022-06-22
下一篇:
kesar/IPFS-PHP: Simple IPFS client in PHP发布时间:2022-06-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap