Decentralized Resource Interface
[State: concept]
TLDR; A command line tool and library to load entities from decentralized addresses. Similar to libcurl/curl on the command line.
#
BackgroundOver the past years there have been several protocols implemented to share data using decentralized systems. IPFS and the Hypercore-protocol have become popular but probably more prominently the W3C's Decentralized Identity Document specification a variety of protocols like sidetree (using ethereum and IPFS) or lorena.
However there is no unify util to interact with the did resource files, like there are tools to interact with web content such as curl or fetch. The Agregore browser works on providing a web interface for this and has been working on providing a fetch-compatible API for hyper and ipfs but it hasn't come to the point where it offers the functionality for a general audience.
#
A library and a command line toolWhat we propose to build is a JavaScript library similar to fetch that accepts these new lookups:
Which will load the relevant underlying protocols automatically. Parallel there should also be
a command line tool works much like curl
to download and upload files to decentralized systems:
#
Relevancy & BeneficiariesHaving unified tools both highlight the power of various projects in the decentralized space and make it easier to build new applications and platforms on top of them.
#
Why JavaScriptMany decentralized projects provide go-lang
or c
implementations of their work but all provide
JavaScript implementations which makes JavaScript the best and probably only choice for the beginning.