1. IPFS点滴资讯首页
  2. 官方更新
  3. IPFS

IPFS Companion 2.2.0 brings window.ipfs to your Browser

We are pleased to announce to everyone in our community that a new version of our browser extension has been released!

IPFS Companion 2.2.0 brings window.ipfs to your Browser

🔦 Highlights

Your node is exposed as window.ipfs on every webpage

The API aims to be compatible with interface-ipfs-core, which means websites can now detect if the property exists in window context and opt-in to use it instead of creating their own js-ipfs node. It saves system resources and battery (on mobile), avoids the overhead of peer discovery/connection, enables shared repository access and more!

Make sure to read our notes on exposing IPFS API as window.ipfs, where we explain it in-depth and provide examples on how to use it your own dapp.

You can also play with simple demo apps that take advantage of window.ipfs:

Embedded js-ipfs Node

The Browser Action menu provides a toggle for switching between external IPFS node accessed over HTTP API and embedded, in-memory instance of js-ipfs.

The embedded node is great for quickly sharing files with someone, or for testing a dapp that uses window.ipfs without having to install and start up your own IPFS daemon. Power users can provide own config (eg. to enable experimental pubsub) via Preferences.

Note: The embedded node does not run when external node is selected. Every time you switch back to the embedded node, a new instance is created on-demand. It can take a few seconds for a brand-new node to find peers.

…and more!

For a longer walkthrough of new features see Release Notes for v2.2.0.

Install it today!

FirefoxChrome / Chromium
IPFS Companion 2.2.0 brings window.ipfs to your BrowserIPFS Companion 2.2.0 brings window.ipfs to your Browser

Want to contribute?

Would you like to contribute to the IPFS browser extension and don’t know how? Well, there are a few places you can get started:

Do you have questions?

The best place to ask your questions about IPFS, how it works and what you can do with it is at discuss.ipfs.io. We are also available at the #ipfs channel on Freenode.

That is all for this post. Thank you for being part of the community. Have a great day!



点对点科技深耘IPFS与Filecoin技术,坚持区块链技术改变未来的信念。点对点 IPFS 数据中心是目前国内技术领先,性价比高、保障优的投资标的。自建杭州数据中心,合作数据中心分布于上海、宁波、河北、香港、斯德哥尔摩(瑞典)等地。点对点数据中心具有优秀的硬件配置与目前国内优质的网络节点资源。点对点科技力求将IPFS爱好者升级为IPFS领军者与受益者,让IPFS颠覆传统互联网,共同开启 WEB 3.0时代。


Filecoin测试网二阶段昨日重启,点对点出块第一! | 点滴资讯



电子邮件地址不会被公开。 必填项已用*标注