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. start your trial are dealing with The Chart on indexing these identity structures which will open lots of brand-new chances in this realm.
If you also need a method of saving and managing user information, you have three main choices. Utilize the IDX library to straight save files on the Ceramic Network and add recommendations to those documents in the user's index. For this alternative, no extra software is needed; it works out of the box with IDX.Store information in alternative data storage systems such as Filecoin, IPFS, Sia, Arweave, Fabric, Orbit, DB, Secure Data Stores, or Ethereum contracts and use IDX to include references to this information in your user's index.
This is true no matter where the data lives (servers or decentralized networks) or which application initially produced the information. The identity index consists of mappings to various data sources, Share information across applications and silos, As explained above, the essential element of IDX that de-silos information, promotes interoperability, and enables user control is the identity index.
The identity index functions as the information root for each user and makes everything discoverable. To further promote interoperability, the identity index enables developers to: Publish schemas, names, and descriptions for data points they are adding to the index, so others can more quickly consume this info, Release endpoints for where this information can be discovered, whether a Doc, ID on Ceramic, a CID on IPFS/Filecoin, an agreement on Ethereum, or an endpoint for a hosted service, Demand approval to gain access to encrypted information points in the index, Developing with IDXThe following area describes how to begin constructing 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, Query an identity, Then we can utilize these libraries to link IDX to a Ceramic network and connect with the files associated to an offered DID. This example demonstrates how to simply query the fundamental profile for an offered Ceramic from '@ceramicnetwork/ ceramic-http-client' import IDX from '@ceramicstudio/ idx' import meanings from '@ceramicstudio/ idx-constants'// Use Ceramic devnetconst ceramic = brand-new Ceramic('< https://ceramic.