For example you might lookup a user's profile based upon their DID, their Ethereum account, or their Twitter deal with; or you might lookup a user's Filecoin account based on their Polkadot account. IDX Broker are working with The Chart on indexing these identity structures which will open lots of brand-new chances in this realm.
If you also need a way of keeping and handling user information, you have three primary alternatives. Utilize the IDX library to straight save files on the Ceramic Network and include recommendations to those files in the user's index. For this alternative, no extra software is required; it works out of package with IDX.Store data in alternative data storage systems such as Filecoin, IPFS, Sia, Arweave, Textile, Orbit, DB, Secure Data Stores, or Ethereum contracts and use IDX to include recommendations to this information in your user's index.
This holds true regardless of where the information lives (servers or decentralized networks) or which application initially produced the information. The identity index contains mappings to various data sources, Share information throughout applications and silos, As described above, the crucial element of IDX that de-silos details, promotes interoperability, and allows user control is the identity index.
The identity index serves as the information root for each user and makes everything discoverable. To even more promote interoperability, the identity index permits developers to: Publish schemas, names, and descriptions for information points they are contributing to the index, so others can more easily consume this details, Release endpoints for where this details can be found, whether a Doc, ID on Ceramic, a CID on IPFS/Filecoin, an agreement on Ethereum, or an endpoint for a hosted service, Demand permission to access encrypted information points in the index, Establishing with IDXThe following area outlines how to begin building with IDX.
Installation, First, we'll require to set up the main IDX library and associated dependences: npm install @ceramicnetwork/ ceramic-http-client @ceramicstudio/ idx @ceramicstudio/ idx-constants, Question an identity, Then we can use these libraries to connect IDX to a Ceramic network and connect with the documents associated to an offered DID. This example demonstrates how to simply query the standard profile for a given Ceramic from '@ceramicnetwork/ ceramic-http-client' import IDX from '@ceramicstudio/ idx' import definitions from '@ceramicstudio/ idx-constants'// Use Ceramic devnetconst ceramic = brand-new Ceramic('< https://ceramic.