For instance you might lookup a user's profile based on their DID, their Ethereum account, or their Twitter deal with; or you could lookup a user's Filecoin account based upon their Polkadot account. More In-Depth are working with The Graph on indexing these identity structures which will open lots of brand-new opportunities in this world.
If you likewise need a method of storing and handling user information, you have three main options. Use the IDX library to directly store files on the Ceramic Network and add referrals to those documents in the user's index. For this option, no extra software application is required; it works out of the box with IDX.Store information in alternative data storage systems such as Filecoin, IPFS, Sia, Arweave, Textile, Orbit, DB, Secure Data Stores, or Ethereum agreements and utilize IDX to include recommendations to this data in your user's index.
This holds true no matter where the information resides (servers or decentralized networks) or which application first produced the information. The identity index consists of mappings to various information sources, Share data across applications and silos, As explained 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 details root for each user and makes whatever 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 quickly consume this information, Release endpoints for where this info can be discovered, whether a Doc, ID on Ceramic, a CID on IPFS/Filecoin, a contract on Ethereum, or an endpoint for a hosted service, Demand authorization to access encrypted information points in the index, Developing with IDXThe following area outlines how to get begun developing with IDX.
Setup, First, we'll require to set up the main IDX library and associated reliances: npm set up @ceramicnetwork/ ceramic-http-client @ceramicstudio/ idx @ceramicstudio/ idx-constants, Query an identity, Then we can use these libraries to connect IDX to a Ceramic network and connect with the files associated to a given DID. This example reveals how to just query the basic profile for an offered Ceramic from '@ceramicnetwork/ ceramic-http-client' import IDX from '@ceramicstudio/ idx' import definitions from '@ceramicstudio/ idx-constants'// Use Ceramic devnetconst ceramic = new Ceramic('< https://ceramic.