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

christroutner/ipfs-coord: Warning: Prototype - A JS library for helping IPFS pee ...

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

开源软件名称:

christroutner/ipfs-coord

开源软件地址:

https://github.com/christroutner/ipfs-coord

开源编程语言:

JavaScript 100.0%

开源软件介绍:

ipfs-coord

This is a JavaScript npm library built on top of js-ipfs. This library will help IPFS peers discover a common interest, coordinate around that interest, and then stay connected around that interest. It's main subcomponents are:

  • IPFS pubsub channels for communication
  • OrbitDB for persistance and prevent 'dropped messages'
  • Circuit Relays for censorship resistance
  • Bitcoin Cash for end-to-end encryption and payments.

This library will automatically track peers, connect to them through circuit-relays, and end-to-end encrypt all communication with each node.

Here are some use cases where IPFS node coordination is needed:

  • e2e encrypted chat
  • Circuit-relay as-a-service
  • Creating CoinJoin transactions
  • Decentralized exchange of currencies
  • Compute-as-a-service
  • Storage-as-a-service

The ultimate goal for this library to be a building block for building a replacement to the conventional REST API. APIs like REST or gRPC are incredibly valuable, but suffer from the same censorship risks as the rest of the web. An IPFS-based API, in a fully distributed network like IPFS, must have sophisticated coordination in order for it to function properly. This is that coordination library.

Here is some videos and blog posts that preceded this work:

A live demo of using this library to build an e2e encrypted chat app can be interacted with here:

Install

Install the npm library: npm install --save ipfs-coord

Setup a development environment:

git clone https://github.com/christroutner/ipfs-coord
cd ipfs-coord
npm install
npm test

Licence

MIT




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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