For example you could lookup a user's profile based on their DID, their Ethereum account, or their Twitter manage; or you could lookup a user's Filecoin account based upon their Polkadot account. We are working with The Graph on indexing these identity structures which will open up lots of brand-new chances in this realm.
If you likewise require a method of storing and managing user information, you have three main choices. Use the IDX library to directly store documents on the Ceramic Network and include recommendations to those documents in the user's index. For click here to continue. , no additional software application is required; it works out of package with IDX.Store data in alternative information storage systems such as Filecoin, IPFS, Sia, Arweave, Textile, Orbit, DB, Secure Data Stores, or Ethereum agreements and utilize IDX to add recommendations to this information in your user's index.
This holds true regardless of where the data resides (servers or decentralized networks) or which application initially created the data. The identity index includes mappings to various data sources, Share data throughout applications and silos, As described above, the essential element of IDX that de-silos details, promotes interoperability, and makes it possible for user control is the identity index.
The identity index acts as the info root for each user and makes whatever visible. To further promote interoperability, the identity index permits developers to: Publish schemas, names, and descriptions for data points they are contributing to the index, so others can more easily consume this details, Release endpoints for where this information 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, Request consent to access encrypted data points in the index, Establishing with IDXThe following area details how to begin constructing with IDX.
Installation, First, we'll require to set up the main IDX library and associated dependencies: npm install @ceramicnetwork/ ceramic-http-client @ceramicstudio/ idx @ceramicstudio/ idx-constants, Inquiry an identity, Then we can use these libraries to link IDX to a Ceramic network and interact with the documents associated to an offered DID. This example demonstrates how to merely query the standard profile for a given Ceramic from '@ceramicnetwork/ ceramic-http-client' import IDX from '@ceramicstudio/ idx' import meanings from '@ceramicstudio/ idx-constants'// Usage Ceramic devnetconst ceramic = brand-new Ceramic('< https://ceramic.