For instance you might lookup a user's profile based upon their DID, their Ethereum account, or their Twitter handle; or you might lookup a user's Filecoin account based on their Polkadot account. We are dealing with The Graph on indexing these identity structures which will open up numerous new opportunities in this realm.
If you also require a way of storing and managing user information, you have three primary choices. Utilize the IDX library to straight store documents on the Ceramic Network and add references to those files in the user's index. For this option, no extra software application is needed; it works out of the box with IDX.Store data 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 referrals to this data in your user's index.
This holds true regardless of where the data resides (servers or decentralized networks) or which application initially developed the information. This Site includes mappings to various information sources, Share data throughout applications and silos, As explained above, the crucial aspect of IDX that de-silos information, promotes interoperability, and allows user control is the identity index.
The identity index functions as the info root for each user and makes whatever visible. To even more 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 easily consume this details, Publish endpoints for where this info 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 authorization to gain access to encrypted data points in the index, Establishing with IDXThe following area describes how to begin developing with IDX.
Setup, First, we'll need to set up the primary IDX library and associated dependencies: npm install @ceramicnetwork/ ceramic-http-client @ceramicstudio/ idx @ceramicstudio/ idx-constants, Question an identity, Then we can use these libraries to link IDX to a Ceramic network and communicate with the documents associated to an offered DID. This example shows how to just query the standard profile for an offered Ceramic from '@ceramicnetwork/ ceramic-http-client' import IDX from '@ceramicstudio/ idx' import definitions from '@ceramicstudio/ idx-constants'// Usage Ceramic devnetconst ceramic = brand-new Ceramic('< https://ceramic.