For example you might lookup a user's profile based on their DID, their Ethereum account, or their Twitter deal with; or you might lookup a user's Filecoin account based upon their Polkadot account. We are dealing with The Chart on indexing these identity structures which will open up many brand-new opportunities in this world.
If you also require a method of saving and handling user data, you have 3 main options. Use More Details to directly keep documents on the Ceramic Network and add recommendations to those files in the user's index. For this alternative, no additional software is required; it works out of package with IDX.Store data in alternative information storage systems such as Filecoin, IPFS, Sia, Arweave, Fabric, Orbit, DB, Secure Data Stores, or Ethereum agreements and use IDX to include recommendations to this information in your user's index.
This is true no matter where the data resides (servers or decentralized networks) or which application initially produced the information. The identity index includes mappings to different data sources, Share information across applications and silos, As described above, the key aspect of IDX that de-silos info, promotes interoperability, and allows user control is the identity index.
The identity index functions as the information root for each user and makes everything visible. To further promote interoperability, the identity index enables designers to: Publish schemas, names, and descriptions for data points they are adding to the index, so others can more quickly consume this details, 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 permission to gain access to encrypted data points in the index, Establishing with IDXThe following section outlines how to get going building with IDX.
Setup, First, we'll need to install the main IDX library and associated dependencies: npm set up @ceramicnetwork/ ceramic-http-client @ceramicstudio/ idx @ceramicstudio/ idx-constants, Question an identity, Then we can utilize these libraries to connect IDX to a Ceramic network and engage with the files associated to an offered DID. This example shows how to merely query the fundamental profile for a given 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.